{
  "_id": "6a1efd59b401979e73419b26",
  "Package": "ggsmc",
  "Type": "Package",
  "Title": "Visualising Output from Sequential Monte Carlo and\nEnsemble-Based Methods",
  "Version": "0.2.0",
  "Authors@R": "person(given = c(\"Richard\",\"G\"),\nfamily = \"Everitt\",\nrole = c(\"aut\", \"cre\"),\nemail = \"richard.g.everitt@gmail.com\",\ncomment = c(ORCID = \"0000-0002-0822-5648\"))",
  "Maintainer": "Richard G Everitt <richard.g.everitt@gmail.com>",
  "Description": "Functions for plotting, and animating, the output of\nimportance samplers, sequential Monte Carlo samplers (SMC) and\nensemble-based methods. The package can be used to plot and\nanimate histograms, densities, scatter plots and time series,\nand to plot the genealogy of an SMC or ensemble-based\nalgorithm. These functions all rely on algorithm output to be\nsupplied in tidy format. A function is provided to transform\nalgorithm output from matrix format (one Monte Carlo point per\nrow) to the tidy format required by the plotting and animating\nfunctions.",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.2",
  "URL": "https://github.com/richardgeveritt/ggsmc,\nhttps://richardgeveritt.github.io/ggsmc/",
  "BugReports": "https://github.com/richardgeveritt/ggsmc/issues",
  "VignetteBuilder": "knitr",
  "License": "MIT + file LICENSE",
  "Config/pak/sysreqs": "libabsl-dev cmake libgdal-dev gdal-bin libgeos-dev\nlibicu-dev libssl-dev libproj-dev libsqlite3-dev\nlibudunits2-dev",
  "Repository": "https://richardgeveritt.r-universe.dev",
  "Date/Publication": "2025-11-12 15:37:03 UTC",
  "RemoteUrl": "https://github.com/richardgeveritt/ggsmc",
  "RemoteRef": "HEAD",
  "RemoteSha": "90fff4c88a8dbd643c68b50b6bc28d6c1d9246d5",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-18 09:56:14 UTC",
    "User": "root"
  },
  "Author": "Richard G Everitt [aut, cre] (ORCID:\n<https://orcid.org/0000-0002-0822-5648>)",
  "MD5sum": "813945a7bd559a91f66487f1676f05e8",
  "_user": "richardgeveritt",
  "_type": "src",
  "_file": "ggsmc_0.2.0.tar.gz",
  "_fileid": "b937cae6fbabad6aebec8c47f2fc0c00cfed0498672689b0bba327dcee516a12",
  "_filesize": 1315350,
  "_sha256": "b937cae6fbabad6aebec8c47f2fc0c00cfed0498672689b0bba327dcee516a12",
  "_created": "2026-05-18T09:56:14.000Z",
  "_published": "2026-06-02T15:57:13.138Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79114209338,
      "time": 156,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7054779898"
    },
    {
      "job": 79114209872,
      "time": 148,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7054777748"
    },
    {
      "job": 79114209398,
      "time": 150,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7054769462"
    },
    {
      "job": 79114209548,
      "time": 182,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7054774557"
    },
    {
      "job": 79114208507,
      "time": 266,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7054725381"
    },
    {
      "job": 79114208668,
      "time": 125,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7362998931"
    },
    {
      "job": 79114209603,
      "time": 79,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7054754415"
    },
    {
      "job": 79114210011,
      "time": 71,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7054751854"
    },
    {
      "job": 79114209812,
      "time": 82,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7054755026"
    }
  ],
  "_buildurl": "https://github.com/r-universe/richardgeveritt/actions/runs/26026214762",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/richardgeveritt/ggsmc",
  "_commit": {
    "id": "90fff4c88a8dbd643c68b50b6bc28d6c1d9246d5",
    "author": "Richard Everitt <richard.g.everitt@gmail.com>",
    "committer": "Richard Everitt <richard.g.everitt@gmail.com>",
    "message": "Remove CRAN submission and revdep files\n\nDeleted CRAN-SUBMISSION and all files in the revdep directory, including .gitignore, README.md, cran.md, failures.md, and problems.md. These files are no longer needed for the project.\n",
    "time": 1762961823
  },
  "_maintainer": {
    "name": "Richard G Everitt",
    "email": "richard.g.everitt@gmail.com",
    "login": "richardgeveritt",
    "mastodon": "@bayesian_stats@mastodon.social",
    "linkedin": "in/bayesianstats",
    "twitter": "@bayesian_stats",
    "description": "Reader in Statistics at the University of Warwick.",
    "uuid": 12959436,
    "orcid": "0000-0002-0822-5648"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.50",
      "role": "Depends"
    },
    {
      "package": "poorman",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "gganimate",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    }
  ],
  "_owner": "richardgeveritt",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-26",
      "n": 3
    },
    {
      "week": "2025-27",
      "n": 1
    },
    {
      "week": "2025-46",
      "n": 7
    }
  ],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "richardgeveritt",
      "count": 66,
      "uuid": 12959436
    }
  ],
  "_userbio": {
    "uuid": 12959436,
    "type": "user",
    "name": "Richard Everitt",
    "description": "Reader in Statistics at the University of Warwick."
  },
  "_downloads": {
    "count": 519,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/ggsmc"
  },
  "_devurl": "https://github.com/richardgeveritt/ggsmc",
  "_pkgdown": "https://richardgeveritt.github.io/ggsmc/",
  "_searchresults": 6,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/ggsmc.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/richardgeveritt/ggsmc",
  "_realowner": "richardgeveritt",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.2.0",
      "date": "2024-07-27"
    },
    {
      "version": "0.2.0",
      "date": "2025-11-13"
    }
  ],
  "_exports": [
    "animate_density",
    "animate_histogram",
    "animate_reveal_time_series",
    "animate_scatter",
    "animate_time_series",
    "matrix2tidy",
    "plot_density",
    "plot_genealogy",
    "plot_histogram",
    "plot_scatter",
    "plot_time_series"
  ],
  "_datasets": [
    {
      "name": "cwna_data",
      "title": "Data generated from a constant velocity (or continuous white noise acceleration, CWNA) model for 20 time steps.",
      "object": "cwna_data",
      "class": [
        "data.frame"
      ],
      "fields": [
        "Index",
        "Position",
        "Velocity",
        "Observed"
      ],
      "rows": 20,
      "table": true,
      "tojson": true
    },
    {
      "name": "lv_output",
      "title": "10000 simulations from a stochastic Lotka-Volterra model, assigned weights according to a Gaussian approximate Bayesian computation kernel with tolerance equal to 50.",
      "object": "lv_output",
      "class": [
        "data.frame"
      ],
      "fields": [
        "ExternalIndex",
        "Target",
        "Time",
        "NormalisingConstant",
        "ISESS",
        "TargetParameters",
        "Iteration",
        "Particle",
        "AncestorIndex",
        "LogWeight",
        "ParameterName",
        "Dimension",
        "Value",
        "ExternalTarget",
        "ExternalTargetParameters"
      ],
      "rows": 320000,
      "table": true,
      "tojson": true
    },
    {
      "name": "mixture_25_particles",
      "title": "The output of an SMC sampler where the initial distribution is a Gaussian and the final target is a mixture of Gaussians. 25 particles were used, with an adaptive method to determine the sequence of targets, and a Metropolis-Hastings move to move the particles at each step.",
      "object": "mixture_25_particles",
      "class": [
        "data.frame"
      ],
      "fields": [
        "ExternalIndex",
        "Target",
        "Time",
        "NormalisingConstant",
        "ISESS",
        "TargetParameters",
        "Iteration",
        "Particle",
        "AncestorIndex",
        "LogWeight",
        "ParameterName",
        "Dimension",
        "Value"
      ],
      "rows": 175,
      "table": true,
      "tojson": true
    },
    {
      "name": "sir_cwna_model",
      "title": "The output of a bootstrap particle filter on the 'cwna_data'. The output consists of 100 particles over 20 time steps.",
      "object": "sir_cwna_model",
      "class": [
        "data.frame"
      ],
      "fields": [
        "ExternalIndex",
        "Target",
        "Time",
        "NormalisingConstant",
        "ISESS",
        "TargetParameters",
        "Iteration",
        "Particle",
        "AncestorIndex",
        "LogWeight",
        "ParameterName",
        "Dimension",
        "Value"
      ],
      "rows": 4000,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "animate_density",
      "title": "An animated density of a single variable across targets.",
      "topics": [
        "animate_density"
      ]
    },
    {
      "page": "animate_histogram",
      "title": "An animated histogram of a single variable across targets.",
      "topics": [
        "animate_histogram"
      ]
    },
    {
      "page": "animate_reveal_time_series",
      "title": "Plot animated line graph showing parameter value vs dimension (revealed in the animation) from algorithm output.",
      "topics": [
        "animate_reveal_time_series"
      ]
    },
    {
      "page": "animate_scatter",
      "title": "A histogram of a single variable from a single target.",
      "topics": [
        "animate_scatter"
      ]
    },
    {
      "page": "animate_time_series",
      "title": "Plot animated line graph showing parameter value vs dimension across targets from algorithm output.",
      "topics": [
        "animate_time_series"
      ]
    },
    {
      "page": "cwna_data",
      "title": "Data generated from a constant velocity (or continuous white noise acceleration, CWNA) model for 20 time steps.",
      "topics": [
        "cwna_data"
      ]
    },
    {
      "page": "lv_output",
      "title": "10000 simulations from a stochastic Lotka-Volterra model, assigned weights according to a Gaussian approximate Bayesian computation kernel with tolerance equal to 50.",
      "topics": [
        "lv_output"
      ]
    },
    {
      "page": "matrix2tidy",
      "title": "Convert IS, SMC or EnK output stored as a matrix to tidy format.",
      "topics": [
        "matrix2tidy"
      ]
    },
    {
      "page": "mixture_25_particles",
      "title": "The output of an SMC sampler where the initial distribution is a Gaussian and the final target is a mixture of Gaussians. 25 particles were used, with an adaptive method to determine the sequence of targets, and a Metropolis-Hastings move to move the particles at each step.",
      "topics": [
        "mixture_25_particles"
      ]
    },
    {
      "page": "plot_density",
      "title": "A density of a single variable.",
      "topics": [
        "plot_density"
      ]
    },
    {
      "page": "plot_genealogy",
      "title": "Plot an SMC or EnK genealogy from algorithm output.",
      "topics": [
        "plot_genealogy"
      ]
    },
    {
      "page": "plot_histogram",
      "title": "A histogram of a single variable.",
      "topics": [
        "plot_histogram"
      ]
    },
    {
      "page": "plot_scatter",
      "title": "A histogram of a single variable from a single target",
      "topics": [
        "plot_scatter"
      ]
    },
    {
      "page": "plot_time_series",
      "title": "Plot line graph showing parameter value vs dimension from algorithm output.",
      "topics": [
        "plot_time_series"
      ]
    },
    {
      "page": "sir_cwna_model",
      "title": "The output of a bootstrap particle filter on the 'cwna_data'. The output consists of 100 particles over 20 time steps.",
      "topics": [
        "sir_cwna_model"
      ]
    }
  ],
  "_readme": "https://github.com/richardgeveritt/ggsmc/raw/HEAD/README.md",
  "_rundeps": [
    "class",
    "classInt",
    "cli",
    "cpp11",
    "crayon",
    "DBI",
    "e1071",
    "farver",
    "gganimate",
    "ggplot2",
    "glue",
    "gtable",
    "hms",
    "isoband",
    "KernSmooth",
    "labeling",
    "lifecycle",
    "lpSolve",
    "magrittr",
    "MASS",
    "pkgconfig",
    "poorman",
    "prettyunits",
    "progress",
    "proxy",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "rlang",
    "s2",
    "S7",
    "scales",
    "sf",
    "stringi",
    "transformr",
    "tweenr",
    "units",
    "vctrs",
    "viridisLite",
    "withr",
    "wk"
  ],
  "_vignettes": [
    {
      "source": "Visualising.Rmd",
      "filename": "Visualising.html",
      "title": "Visualising the output of Monte Carlo methods with ggsmc",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Data format",
        "Histograms and densities",
        "Scatter plots",
        "Genealogies",
        "Time series",
        "Modifying figures",
        "Animating plots"
      ],
      "created": "2024-07-21 22:31:03",
      "modified": "2024-07-23 15:43:31",
      "commits": 4
    }
  ],
  "_score": 4.176091259055681,
  "_indexed": true,
  "_nocasepkg": "ggsmc",
  "_universes": [
    "richardgeveritt"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-05-18T09:58:55.000Z",
      "distro": "noble",
      "commit": "90fff4c88a8dbd643c68b50b6bc28d6c1d9246d5",
      "fileid": "98d6d983159efee3884114e24dca3251f032478e0b933bbcaf5f14a56d8ab8fa",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/richardgeveritt/actions/runs/26026214762"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-05-18T09:58:50.000Z",
      "distro": "noble",
      "commit": "90fff4c88a8dbd643c68b50b6bc28d6c1d9246d5",
      "fileid": "eb921b66e5b34916572426270baad198c2347ce7bc15d733d6126dff08adefa5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/richardgeveritt/actions/runs/26026214762"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.0",
      "date": "2026-05-18T09:58:29.000Z",
      "commit": "90fff4c88a8dbd643c68b50b6bc28d6c1d9246d5",
      "fileid": "7e6011273ab5e59f06627ab5fa76944470bf832d0d71cd3a0aa5497283286fb4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/richardgeveritt/actions/runs/26026214762"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.2.0",
      "date": "2026-05-18T09:58:41.000Z",
      "commit": "90fff4c88a8dbd643c68b50b6bc28d6c1d9246d5",
      "fileid": "8c63f605154e03060b940bc8964bceb7cb00f2b0aa95f1e12b8621cc9ddb3b2d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/richardgeveritt/actions/runs/26026214762"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-05-18T09:57:35.000Z",
      "commit": "90fff4c88a8dbd643c68b50b6bc28d6c1d9246d5",
      "fileid": "270b8a1b3f359243deffe9c2dea5765e479e47fd7987a742ea9789391897172a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/richardgeveritt/actions/runs/26026214762"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-05-18T09:57:30.000Z",
      "commit": "90fff4c88a8dbd643c68b50b6bc28d6c1d9246d5",
      "fileid": "0b4e256808419f0b236b961b994516ca9a0b34d40c443fdd52de0a5b40607fd6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/richardgeveritt/actions/runs/26026214762"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-05-18T09:57:38.000Z",
      "commit": "90fff4c88a8dbd643c68b50b6bc28d6c1d9246d5",
      "fileid": "fdde2fbcbe1b3e0f22070e07f8160034a10afd1d6e2bd79938077e1f2a3ff00d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/richardgeveritt/actions/runs/26026214762"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.0",
      "date": "2026-06-02T15:56:55.000Z",
      "commit": "90fff4c88a8dbd643c68b50b6bc28d6c1d9246d5",
      "fileid": "11e0d8526f54ee94311ab76cadb0c4580eaa50c0c1a28b7def1afa605e87e548",
      "status": "success",
      "buildurl": "https://github.com/r-universe/richardgeveritt/actions/runs/26026214762"
    }
  ]
}