{
  "_id": "6ad07dd7e2d863f662954fef",
  "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-10-15 06:43:16 UTC",
    "User": "root"
  },
  "Author": "Richard G Everitt [aut, cre] (ORCID:\n<https://orcid.org/0000-0002-0822-5648>)",
  "_user": "richardgeveritt",
  "_type": "src",
  "_file": "ggsmc_0.2.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/88d538f8983d22467d0ec16e519df30b2d610243d81560a1538b47c95c83b5bb",
  "_filesize": 1316311,
  "_sha256": "88d538f8983d22467d0ec16e519df30b2d610243d81560a1538b47c95c83b5bb",
  "_expires": "2027-01-23T07:16:37.000Z",
  "_created": "2026-10-15T06:43:16.000Z",
  "_published": "2026-10-15T07:16:39.178Z",
  "_buildurl": "https://github.com/r-universe/richardgeveritt/actions/runs/38693677077",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 116286687566,
      "time": 138,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11953566252"
    },
    {
      "job": 116286687414,
      "time": 181,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11953955905"
    },
    {
      "job": 116286687431,
      "time": 207,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11955191865"
    },
    {
      "job": 116286687382,
      "time": 161,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11954826919"
    },
    {
      "job": 116285285445,
      "time": 255,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11953600749"
    },
    {
      "job": 116286687418,
      "time": 179,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11953062843"
    },
    {
      "job": 116286687575,
      "time": 77,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11953960590"
    },
    {
      "job": 116286687495,
      "time": 67,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11954155178"
    },
    {
      "job": 116286687468,
      "time": 74,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11954145339"
    }
  ],
  "_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"
  },
  "_distro": "resolute",
  "_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-46",
      "n": 7
    }
  ],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "richardgeveritt",
      "count": 66,
      "uuid": 12959436
    }
  ],
  "_userbio": {
    "uuid": 12959436,
    "type": "user",
    "name": "Richard Everitt",
    "followers": 5,
    "description": "Reader in Statistics at the University of Warwick."
  },
  "_downloads": {
    "count": 339,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/ggsmc"
  },
  "_devurl": "https://github.com/richardgeveritt/ggsmc",
  "_pkgdown": "https://richardgeveritt.github.io/ggsmc/",
  "_searchresults": 7,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/ggsmc.html",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE"
  ],
  "_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",
    "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": 3.6989700043360187,
  "_indexed": true,
  "_nocasepkg": "ggsmc",
  "_universes": [
    "richardgeveritt"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-10-15T06:45:36.000Z",
      "distro": "resolute",
      "commit": "90fff4c88a8dbd643c68b50b6bc28d6c1d9246d5",
      "fileid": "https://r2.ropensci.org/e99db988da739659fadc5c02c6a900415cb4373a49465d8ff53d4495f8152697",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/richardgeveritt/actions/runs/38693677077"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-10-15T06:45:26.000Z",
      "distro": "resolute",
      "commit": "90fff4c88a8dbd643c68b50b6bc28d6c1d9246d5",
      "fileid": "https://r2.ropensci.org/a322bb829a4911fb01c8ace916421d465e1d75b086be0dfd4e6c916eb0bb9627",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/richardgeveritt/actions/runs/38693677077"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.0",
      "date": "2026-10-15T07:15:32.000Z",
      "commit": "90fff4c88a8dbd643c68b50b6bc28d6c1d9246d5",
      "fileid": "https://r2.ropensci.org/fe704f6838eda4c14bdceb0e0c85fb4bba4abcf38f40e8c19944c226159bb52b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/richardgeveritt/actions/runs/38693677077"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.2.0",
      "date": "2026-10-15T07:13:47.000Z",
      "commit": "90fff4c88a8dbd643c68b50b6bc28d6c1d9246d5",
      "fileid": "https://r2.ropensci.org/0e01b7db5bb472154d38a0e2a216cdd0cb402444005950660375cdd93243e135",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/richardgeveritt/actions/runs/38693677077"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.0",
      "date": "2026-10-15T06:46:35.000Z",
      "commit": "90fff4c88a8dbd643c68b50b6bc28d6c1d9246d5",
      "fileid": "https://r2.ropensci.org/dcd9aa85b89ebf8f7d1b0041bf755bfeaf2667c6a075b9504929f97666186b4f",
      "status": "success",
      "buildurl": "https://github.com/r-universe/richardgeveritt/actions/runs/38693677077"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-10-15T06:44:33.000Z",
      "commit": "90fff4c88a8dbd643c68b50b6bc28d6c1d9246d5",
      "fileid": "https://r2.ropensci.org/8004e8db11a06fb3e2ec71f7b63a0682557294e6f87dc67a483038708b1fdd14",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/richardgeveritt/actions/runs/38693677077"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-10-15T06:44:29.000Z",
      "commit": "90fff4c88a8dbd643c68b50b6bc28d6c1d9246d5",
      "fileid": "https://r2.ropensci.org/f69b0225e48ea450cc9928d1a0bb14d3c20ad66e4cc18f528495f61e0fd05f90",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/richardgeveritt/actions/runs/38693677077"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-10-15T06:44:33.000Z",
      "commit": "90fff4c88a8dbd643c68b50b6bc28d6c1d9246d5",
      "fileid": "https://r2.ropensci.org/498b44571e0812fcf171cb6a2dc5f7d5f24a63a82734a2c214030c1e965abf7e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/richardgeveritt/actions/runs/38693677077"
    }
  ]
}