{
  "_id": "6a3252ee3efcd9bda437f4ee",
  "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-06-17 07:51:38 UTC",
    "User": "root"
  },
  "Author": "Richard G Everitt [aut, cre] (ORCID:\n<https://orcid.org/0000-0002-0822-5648>)",
  "MD5sum": "c585b874f8a1bbdb400fdc45974e7ee3",
  "_user": "richardgeveritt",
  "_type": "src",
  "_file": "ggsmc_0.2.0.tar.gz",
  "_fileid": "564f948faaba7bb31ce86fbc91e6c0263715cd8f2b2ae37074d83032f05b6e8b",
  "_filesize": 1317607,
  "_sha256": "564f948faaba7bb31ce86fbc91e6c0263715cd8f2b2ae37074d83032f05b6e8b",
  "_created": "2026-06-17T07:51:38.000Z",
  "_published": "2026-06-17T07:55:26.921Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 81845204661,
      "time": 135,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7689206341"
    },
    {
      "job": 81845204694,
      "time": 118,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7689198390"
    },
    {
      "job": 81845204651,
      "time": 191,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7689212542"
    },
    {
      "job": 81845204686,
      "time": 164,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7689202346"
    },
    {
      "job": 81844597485,
      "time": 211,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7689156940"
    },
    {
      "job": 81845204600,
      "time": 121,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7689201523"
    },
    {
      "job": 81845204678,
      "time": 148,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7689209359"
    },
    {
      "job": 81845204700,
      "time": 80,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7689184939"
    },
    {
      "job": 81845204742,
      "time": 69,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7689181465"
    }
  ],
  "_buildurl": "https://github.com/r-universe/richardgeveritt/actions/runs/27673928798",
  "_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",
    "followers": 5,
    "description": "Reader in Statistics at the University of Warwick."
  },
  "_downloads": {
    "count": 500,
    "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.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",
    "LICENSE",
    "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-06-17T07:54:04.000Z",
      "distro": "noble",
      "commit": "90fff4c88a8dbd643c68b50b6bc28d6c1d9246d5",
      "fileid": "059bbc4f8e5851cbb9827ac72e4a4b30d9061c52a236a07a913726b9c650995c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/richardgeveritt/actions/runs/27673928798"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-06-17T07:53:43.000Z",
      "distro": "noble",
      "commit": "90fff4c88a8dbd643c68b50b6bc28d6c1d9246d5",
      "fileid": "e733a61ac09869e87103c1fe24066c347c9cd643604fae86f842112da4256c9c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/richardgeveritt/actions/runs/27673928798"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.0",
      "date": "2026-06-17T07:54:24.000Z",
      "commit": "90fff4c88a8dbd643c68b50b6bc28d6c1d9246d5",
      "fileid": "99f6862864ef01daac779f434f3643db06d1afc3d19278c261587584fa814261",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/richardgeveritt/actions/runs/27673928798"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.2.0",
      "date": "2026-06-17T07:53:56.000Z",
      "commit": "90fff4c88a8dbd643c68b50b6bc28d6c1d9246d5",
      "fileid": "30bcbfd75a7ac7f7288e4326e8731e8d653193cf97fa5c51577233f8215ba94c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/richardgeveritt/actions/runs/27673928798"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.0",
      "date": "2026-06-17T07:54:04.000Z",
      "commit": "90fff4c88a8dbd643c68b50b6bc28d6c1d9246d5",
      "fileid": "e0118ff668ea2d5c24df921dcd1bb192a627df09a12218f1c28269bcd74abf2c",
      "status": "success",
      "buildurl": "https://github.com/r-universe/richardgeveritt/actions/runs/27673928798"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-06-17T07:54:04.000Z",
      "commit": "90fff4c88a8dbd643c68b50b6bc28d6c1d9246d5",
      "fileid": "fd369ae0d70be8432d677d375a77ced87a39da163bb56fcf7e1b9847b44c12a9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/richardgeveritt/actions/runs/27673928798"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-06-17T07:52:59.000Z",
      "commit": "90fff4c88a8dbd643c68b50b6bc28d6c1d9246d5",
      "fileid": "af0ede8a729eb276dabdb8685148fa85ce02353650d092f41dcd636a0890eb3f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/richardgeveritt/actions/runs/27673928798"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-06-17T07:52:50.000Z",
      "commit": "90fff4c88a8dbd643c68b50b6bc28d6c1d9246d5",
      "fileid": "fc4ac2aa40ccacd9ce94793b75c3847b4cf209e72b800f0505fdbe01cb96bd7a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/richardgeveritt/actions/runs/27673928798"
    }
  ]
}