{
  "_id": "6a30597c3efcd9bda4343390",
  "Package": "sanba",
  "Type": "Package",
  "Title": "Fitting Shared Atoms Nested Models via MCMC or Variational Bayes",
  "Version": "0.0.4",
  "Authors@R": "c(\nperson(\"Francesco\", \"Denti\", ,\"francescodenti.personal@gmail.com\",\nrole = c(\"aut\", \"cre\", \"cph\"),\ncomment = c(ORCID = \"0000-0001-5034-7414\")),\nperson(\"Laura\", \"D'Angelo\", ,\"laura.dangelo@live.com\",\nrole = c(\"aut\"),\ncomment = c(ORCID = \"0000-0003-2978-4702\"))\n)",
  "Maintainer": "Francesco Denti <francescodenti.personal@gmail.com>",
  "URL": "https://github.com/fradenti/sanba",
  "BugReports": "https://github.com/fradenti/sanba/issues",
  "Description": "An efficient tool for fitting nested mixture models based\non a shared set of atoms via Markov Chain Monte Carlo and\nvariational inference algorithms. Specifically, the package\nimplements the common atoms model (Denti et al., 2023), its\nfinite version (similar to D'Angelo et al., 2023), and a hybrid\nfinite-infinite model (D'Angelo and Denti, 2026). All models\nimplement univariate nested mixtures with Gaussian kernels\nequipped with a normal-inverse gamma prior distribution on the\nparameters. Additional functions are provided to help analyze\nthe results of the fitting procedure. References: Denti,\nCamerlenghi, Guindani, Mira (2023)\n<doi:10.1080/01621459.2021.1933499>, D’Angelo, Canale, Yu,\nGuindani (2023) <doi:10.1111/biom.13626>, D’Angelo, Denti\n(2026) <doi:10.1214/24-BA1458>.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "Language": "en-US",
  "Config/roxygen2/version": "8.0.0",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-06-15 19:53:07 UTC",
    "User": "root"
  },
  "Author": "Francesco Denti [aut, cre, cph] (ORCID:\n<https://orcid.org/0000-0001-5034-7414>), Laura D'Angelo [aut]\n(ORCID: <https://orcid.org/0000-0003-2978-4702>)",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2026-06-15 19:10:57 UTC",
  "RemoteUrl": "https://github.com/cran/sanba",
  "RemoteRef": "HEAD",
  "RemoteSha": "4cc88e2ef620ff8ec64131bd32a4a140be8f6482",
  "MD5sum": "8223317f4f39dbb2b1236dedff57752a",
  "_user": "cran",
  "_type": "src",
  "_file": "sanba_0.0.4.tar.gz",
  "_fileid": "5f92b4790d4ba4eb534ce29f8427999ff17fdc270038dcca43e597b00a27c68a",
  "_filesize": 452108,
  "_sha256": "5f92b4790d4ba4eb534ce29f8427999ff17fdc270038dcca43e597b00a27c68a",
  "_created": "2026-06-15T19:53:07.000Z",
  "_published": "2026-06-15T19:58:52.329Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 81512026632,
      "time": 224,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7649236243"
    },
    {
      "job": 81512026687,
      "time": 217,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7649234739"
    },
    {
      "job": 81512026633,
      "time": 204,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7649227477"
    },
    {
      "job": 81512026630,
      "time": 172,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7649215896"
    },
    {
      "job": 81511175052,
      "time": 268,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7649149944"
    },
    {
      "job": 81512026625,
      "time": 204,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7649227565"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/27572120937",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/sanba",
  "_commit": {
    "id": "4cc88e2ef620ff8ec64131bd32a4a140be8f6482",
    "author": "Francesco Denti <francescodenti.personal@gmail.com>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.0.4\n",
    "time": 1781550657
  },
  "_maintainer": {
    "name": "Francesco Denti",
    "email": "francescodenti.personal@gmail.com",
    "login": "fradenti",
    "description": "Assistant Professor (RtdB) @ University of Padua",
    "uuid": 29864961,
    "orcid": "0000-0001-5034-7414"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "RcppArmadillo",
      "role": "LinkingTo"
    },
    {
      "package": "RcppProgress",
      "role": "LinkingTo"
    },
    {
      "package": "Rcpp",
      "role": "Imports"
    },
    {
      "package": "matrixStats",
      "role": "Imports"
    },
    {
      "package": "salso",
      "role": "Imports"
    },
    {
      "package": "scales",
      "role": "Imports"
    },
    {
      "package": "RColorBrewer",
      "role": "Imports"
    },
    {
      "package": "spelling",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-31",
      "n": 1
    },
    {
      "week": "2025-39",
      "n": 1
    },
    {
      "week": "2026-25",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "0.0.2",
      "date": "2025-07-31"
    },
    {
      "name": "0.0.3",
      "date": "2025-09-24"
    },
    {
      "name": "0.0.4",
      "date": "2026-06-15"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "fradenti",
      "count": 4,
      "uuid": 29864961
    }
  ],
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "followers": 609,
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 207,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/sanba"
  },
  "_devurl": "https://github.com/fradenti/sanba",
  "_searchresults": 2,
  "_topics": [
    "openblas",
    "cpp",
    "openmp"
  ],
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/sanba.html",
    "LICENSE",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/fradenti/sanba",
  "_realowner": "fradenti",
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.0.1",
      "date": "2025-05-27"
    },
    {
      "version": "0.0.2",
      "date": "2025-08-01"
    },
    {
      "version": "0.0.3",
      "date": "2025-09-24"
    },
    {
      "version": "0.0.4",
      "date": "2026-06-15"
    }
  ],
  "_exports": [
    "compute_postdens",
    "compute_psm",
    "estimate_G",
    "estimate_partition",
    "fit_CAM",
    "fit_fiSAN",
    "fit_fSAN",
    "get_model",
    "get_params",
    "get_seed_best_run",
    "get_sim",
    "get_time",
    "number_clusters",
    "plot_vi_allocation_prob"
  ],
  "_help": [
    {
      "page": "compute_postdens",
      "title": "Compute the Posterior Density for a Group",
      "topics": [
        "compute_postdens"
      ]
    },
    {
      "page": "compute_psm",
      "title": "Compute and Plot the Posterior Similarity Matrix",
      "topics": [
        "compute_psm"
      ]
    },
    {
      "page": "estimate_G",
      "title": "Estimate the Atoms and Weights of the Discrete Mixing Distributions",
      "topics": [
        "estimate_G",
        "plot.SANvi_G",
        "print.SANvi_G",
        "summary.SANvi_G"
      ]
    },
    {
      "page": "estimate_partition",
      "title": "Estimate the Observational and Distributional Partition",
      "topics": [
        "estimate_partition",
        "estimate_partition.SANmcmc",
        "estimate_partition.SANvi",
        "plot.partition_mcmc",
        "plot.partition_vi",
        "print.partition_mcmc",
        "print.partition_vi",
        "summary.partition_mcmc",
        "summary.partition_vi"
      ]
    },
    {
      "page": "fit_CAM",
      "title": "Fit the Common Atoms Mixture Model",
      "topics": [
        "fit_CAM"
      ]
    },
    {
      "page": "fit_fiSAN",
      "title": "Fit the Finite-Infinite Shared Atoms Mixture Model",
      "topics": [
        "fit_fiSAN"
      ]
    },
    {
      "page": "fit_fSAN",
      "title": "Fit the Finite Shared Atoms Mixture Model",
      "topics": [
        "fit_fSAN"
      ]
    },
    {
      "page": "get_accessors",
      "title": "Accessor Functions for SAN Model Outputs",
      "topics": [
        "get_model",
        "get_model.SANmcmc",
        "get_model.SANvi",
        "get_params",
        "get_params.SANmcmc",
        "get_params.SANvi",
        "get_seed_best_run",
        "get_seed_best_run.SANvi",
        "get_sim",
        "get_sim.SANmcmc",
        "get_sim.SANvi",
        "get_time",
        "get_time.SANmcmc",
        "get_time.SANvi"
      ]
    },
    {
      "page": "number_clusters",
      "title": "Estimate the Number of Observational and Distributional Clusters",
      "topics": [
        "number_clusters"
      ]
    },
    {
      "page": "plot_vi_allocation_prob",
      "title": "Plot Variational Cluster Allocation Probabilities",
      "topics": [
        "plot_vi_allocation_prob"
      ]
    },
    {
      "page": "plot.SANmcmc",
      "title": "Visual Check of the Convergence of the MCMC Output",
      "topics": [
        "plot.SANmcmc"
      ]
    },
    {
      "page": "plot.SANmcmc_postdens",
      "title": "Plot Posterior Density Samples",
      "topics": [
        "plot.SANmcmc_postdens"
      ]
    },
    {
      "page": "plot.SANvi",
      "title": "Visual Check of the Convergence of the VI Output",
      "topics": [
        "plot.SANvi"
      ]
    },
    {
      "page": "print.SANmcmc",
      "title": "Print the MCMC Output",
      "topics": [
        "print.SANmcmc"
      ]
    },
    {
      "page": "print.SANvi",
      "title": "Print the Variational Inference Output",
      "topics": [
        "print.SANvi"
      ]
    },
    {
      "page": "summary.SANmcmc",
      "title": "Summarize the MCMC Output",
      "topics": [
        "summary.SANmcmc"
      ]
    },
    {
      "page": "summary.SANvi",
      "title": "Summarize the Variational Inference Output",
      "topics": [
        "summary.SANvi"
      ]
    }
  ],
  "_readme": "https://github.com/cran/sanba/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "farver",
    "glue",
    "labeling",
    "lifecycle",
    "matrixStats",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "RcppArmadillo",
    "RcppProgress",
    "rlang",
    "salso",
    "scales",
    "viridisLite"
  ],
  "_sysdeps": [
    {
      "shlib": "libblas",
      "package": "libopenblas0-pthread",
      "source": "openblas",
      "version": "0.3.26+ds-1ubuntu0.1",
      "name": "openblas",
      "homepage": "https://www.openblas.net/",
      "description": "Optimized BLAS (linear algebra) library (shared lib, pthread)"
    },
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "14.2.0-4ubuntu2~24.04.1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    },
    {
      "shlib": "libgomp",
      "package": "libgomp1",
      "source": "gcc",
      "version": "14.2.0-4ubuntu2~24.04.1",
      "name": "openmp",
      "homepage": "http://gcc.gnu.org/",
      "description": "GCC OpenMP (GOMP) support library"
    }
  ],
  "_score": 2.1760912590556813,
  "_indexed": false,
  "_nocasepkg": "sanba",
  "_universes": [
    "cran"
  ],
  "_indexurl": "https://fradenti.r-universe.dev/sanba",
  "_previous": "0.0.3",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.0.4",
      "date": "2026-06-15T19:56:49.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "4cc88e2ef620ff8ec64131bd32a4a140be8f6482",
      "fileid": "960ffeac0fff38a7bafc1c889b5a97344e2dcfac30481b5e3e3d0685de18d021",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27572120937"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.0.4",
      "date": "2026-06-15T19:56:53.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "4cc88e2ef620ff8ec64131bd32a4a140be8f6482",
      "fileid": "570f706b1902577bebffa1fcc4bdc132eac733cb294e361544d34592693e4d33",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27572120937"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.0.4",
      "date": "2026-06-15T19:56:20.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "4cc88e2ef620ff8ec64131bd32a4a140be8f6482",
      "fileid": "479341467dafc90fa44637748c80e1c662d9dc91291d07ea15a747d48106d70a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27572120937"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.0.4",
      "date": "2026-06-15T19:56:21.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "4cc88e2ef620ff8ec64131bd32a4a140be8f6482",
      "fileid": "0301c49e3dd47c16cd555876a585f8f3f41260e49ed337af13634675801e24fc",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27572120937"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.0.4",
      "date": "2026-06-15T19:56:50.000Z",
      "arch": "emscripten",
      "commit": "4cc88e2ef620ff8ec64131bd32a4a140be8f6482",
      "fileid": "3f8118243fe06bc676e138a322dc08424c0f9758e71fbd4a02a92a8f4af26477",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27572120937"
    }
  ]
}