{
  "_id": "6a1bd4301d7bb097a0a150a2",
  "Package": "miniLNM",
  "Title": "Miniature Logistic-Normal Multinomial Models",
  "Version": "0.1.0",
  "Authors@R": "person(\"Kris\", \"Sankaran\", , \"ksankaran@wisc.edu\", role = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0002-9415-1971\"))",
  "Description": "Logistic-normal Multinomial (LNM) models are common in\nproblems with multivariate count data. This package gives a\nsimple implementation with a 30 line 'Stan' script. This\nlightweight implementation makes it an easy starting point for\nother projects, in particular for downstream tasks that require\nanalysis of \"compositional\" data. It can be applied whenever a\nmultinomial probability parameter is thought to depend linearly\non inputs in a transformed, log ratio space. Additional\nutilities make it easy to inspect, create predictions, and draw\nsamples using the fitted models. More about the LNM can be\nfound in Xia et al. (2013) \"A Logistic Normal Multinomial\nRegression Model for Microbiome Compositional Data Analysis\"\n<doi:10.1111/biom.12079> and Sankaran and Holmes (2023)\n\"Generative Models: An Interdisciplinary Perspective\"\n<doi:10.1146/annurev-statistics-033121-110134>.",
  "License": "CC0",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.2",
  "VignetteBuilder": "knitr",
  "Biarch": "true",
  "SystemRequirements": "GNU make",
  "BugReports": "https://github.com/krisrs1128/miniLNM/issues/",
  "URL": "https://github.com/krisrs1128/miniLNM/,\nhttps://krisrs1128.github.io/miniLNM/",
  "Config/testthat/edition": "3",
  "Config/pak/sysreqs": "make",
  "Repository": "https://krisrs1128.r-universe.dev",
  "Date/Publication": "2024-09-11 17:34:46 UTC",
  "RemoteUrl": "https://github.com/krisrs1128/minilnm",
  "RemoteRef": "HEAD",
  "RemoteSha": "57571dad4a7b3afc17588c91f2b920677383c619",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-05-31 06:06:43 UTC",
    "User": "root"
  },
  "Author": "Kris Sankaran [aut, cre] (ORCID:\n<https://orcid.org/0000-0002-9415-1971>)",
  "Maintainer": "Kris Sankaran <ksankaran@wisc.edu>",
  "MD5sum": "3080ffa4cf0f27e23f078bf48d4fee31",
  "_user": "krisrs1128",
  "_type": "src",
  "_file": "miniLNM_0.1.0.tar.gz",
  "_fileid": "7fb715f3eb0cb5a17cd74402db3f8ed3fef2cc561f0935b089000fc087ca2f02",
  "_filesize": 286105,
  "_sha256": "7fb715f3eb0cb5a17cd74402db3f8ed3fef2cc561f0935b089000fc087ca2f02",
  "_created": "2026-05-31T06:06:43.000Z",
  "_published": "2026-05-31T06:24:48.797Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 78704422162,
      "time": 265,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7314321892"
    },
    {
      "job": 78704422158,
      "time": 311,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7314326707"
    },
    {
      "job": 78704422157,
      "time": 252,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7314320422"
    },
    {
      "job": 78704422169,
      "time": 245,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7314319646"
    },
    {
      "job": 78704422156,
      "time": 254,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7314365381"
    },
    {
      "job": 78704422132,
      "time": 532,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7314394174"
    },
    {
      "job": 78704422133,
      "time": 252,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7314361797"
    },
    {
      "job": 78704422149,
      "time": 465,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7314384728"
    },
    {
      "job": 78704132216,
      "time": 342,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7314292888"
    },
    {
      "job": 78704422091,
      "time": 159,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "FAIL",
      "artifact": ""
    },
    {
      "job": 78704422112,
      "time": 324,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7314328052"
    },
    {
      "job": 78704422127,
      "time": 291,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7314324869"
    },
    {
      "job": 78704422120,
      "time": 287,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7314324239"
    }
  ],
  "_buildurl": "https://github.com/r-universe/krisrs1128/actions/runs/26704888306",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/krisrs1128/minilnm",
  "_commit": {
    "id": "57571dad4a7b3afc17588c91f2b920677383c619",
    "author": "Kris Sankaran <sankaran.kris@gmail.com>",
    "committer": "Kris Sankaran <sankaran.kris@gmail.com>",
    "message": "add value to documentation\n",
    "time": 1726076086
  },
  "_maintainer": {
    "name": "Kris Sankaran",
    "email": "ksankaran@wisc.edu",
    "login": "krisrs1128",
    "description": "",
    "uuid": 2264333,
    "orcid": "0000-0002-9415-1971"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "BH",
      "version": ">= 1.66.0",
      "role": "LinkingTo"
    },
    {
      "package": "Rcpp",
      "version": ">= 0.12.0",
      "role": "LinkingTo"
    },
    {
      "package": "RcppEigen",
      "version": ">= 0.3.3.3.0",
      "role": "LinkingTo"
    },
    {
      "package": "RcppParallel",
      "version": ">= 5.0.1",
      "role": "LinkingTo"
    },
    {
      "package": "rstan",
      "version": ">= 2.18.1",
      "role": "LinkingTo"
    },
    {
      "package": "StanHeaders",
      "version": ">= 2.18.0",
      "role": "LinkingTo"
    },
    {
      "package": "Rcpp",
      "version": ">= 0.12.0",
      "role": "Imports"
    },
    {
      "package": "RcppParallel",
      "version": ">= 5.0.1",
      "role": "Imports"
    },
    {
      "package": "cli",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "fansi",
      "role": "Imports"
    },
    {
      "package": "formula.tools",
      "role": "Imports"
    },
    {
      "package": "glue",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "posterior",
      "role": "Imports"
    },
    {
      "package": "rstan",
      "version": ">= 2.18.1",
      "role": "Imports"
    },
    {
      "package": "rstantools",
      "version": ">= 2.4.0",
      "role": "Imports"
    },
    {
      "package": "tidyselect",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "krisrs1128",
  "_selfowned": true,
  "_usedby": 1,
  "_updates": [],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "krisrs1128",
      "count": 63,
      "uuid": 2264333
    }
  ],
  "_userbio": {
    "uuid": 2264333,
    "type": "user",
    "name": "Kris Sankaran"
  },
  "_downloads": {
    "count": 153,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/miniLNM"
  },
  "_devurl": "https://github.com/krisrs1128/minilnm",
  "_pkgdown": "https://krisrs1128.github.io/miniLNM/",
  "_searchresults": 5,
  "_topics": [
    "cpp"
  ],
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/miniLNM.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/krisrs1128/minilnm",
  "_realowner": "krisrs1128",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2024-09-13"
    }
  ],
  "_exports": [
    "ansi_aware_handler",
    "beta_mean",
    "beta_samples",
    "lnm",
    "lnm_data",
    "phi_inverse",
    "predict",
    "prepare_newdata",
    "sample"
  ],
  "_help": [
    {
      "page": "ansi_aware_handler",
      "title": "Pretty Printing",
      "topics": [
        "ansi_aware_handler"
      ]
    },
    {
      "page": "beta_mean",
      "title": "LNM Posterior Mean",
      "topics": [
        "beta_mean"
      ]
    },
    {
      "page": "beta_samples",
      "title": "LNM Posterior Samples",
      "topics": [
        "beta_samples"
      ]
    },
    {
      "page": "lnm",
      "title": "Fit a logistic normal multinomial model using R's formula interface.",
      "topics": [
        "lnm"
      ]
    },
    {
      "page": "lnm_data",
      "title": "Simulates data from a Logistic Normal Multinomial Model.",
      "topics": [
        "lnm_data"
      ]
    },
    {
      "page": "lnm-class",
      "title": "S4 Class for a Logistic Normal Multinomial Model",
      "topics": [
        "lnm-class"
      ]
    },
    {
      "page": "phi_inverse",
      "title": "Inverse log ratio transformation",
      "topics": [
        "phi_inverse"
      ]
    },
    {
      "page": "predict-lnm-method",
      "title": "LNM Fitted Probabilities",
      "topics": [
        "predict,lnm-method"
      ]
    },
    {
      "page": "prepare_newdata",
      "title": "Design Matrix for a Model",
      "topics": [
        "prepare_newdata"
      ]
    },
    {
      "page": "sample-lnm-method",
      "title": "LNM Fitted Probabilities",
      "topics": [
        "sample,lnm-method"
      ]
    }
  ],
  "_readme": "https://github.com/krisrs1128/minilnm/raw/HEAD/README.md",
  "_rundeps": [
    "abind",
    "backports",
    "BH",
    "callr",
    "checkmate",
    "cli",
    "cpp11",
    "desc",
    "distributional",
    "dplyr",
    "fansi",
    "farver",
    "formula.tools",
    "generics",
    "ggplot2",
    "glue",
    "gridExtra",
    "gtable",
    "inline",
    "isoband",
    "labeling",
    "lifecycle",
    "loo",
    "magrittr",
    "matrixStats",
    "numDeriv",
    "operator.tools",
    "pillar",
    "pkgbuild",
    "pkgconfig",
    "posterior",
    "processx",
    "ps",
    "QuickJSR",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "RcppEigen",
    "RcppParallel",
    "rlang",
    "rstan",
    "rstantools",
    "S7",
    "scales",
    "StanHeaders",
    "tensorA",
    "tibble",
    "tidyselect",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_sysdeps": [
    {
      "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"
    }
  ],
  "_vignettes": [
    {
      "source": "demo.Rmd",
      "filename": "demo.html",
      "title": "Example on Simulated Data",
      "engine": "knitr::rmarkdown",
      "headings": [],
      "created": "2023-12-16 22:05:15",
      "modified": "2024-09-07 22:53:54",
      "commits": 6
    }
  ],
  "_score": 4.176091259055681,
  "_indexed": true,
  "_nocasepkg": "minilnm",
  "_universes": [
    "krisrs1128"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-05-31T06:10:20.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "57571dad4a7b3afc17588c91f2b920677383c619",
      "fileid": "ab0131c482f922a69cb9f3ed5191eb6472742e111f6ac092d51059e149ba7526",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/krisrs1128/actions/runs/26704888306"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-05-31T06:10:58.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "57571dad4a7b3afc17588c91f2b920677383c619",
      "fileid": "6a54c86414cacf26222a3bb479cd981ec7497b751f3ad4dbc06a033f25088d9d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/krisrs1128/actions/runs/26704888306"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-05-31T06:10:10.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "57571dad4a7b3afc17588c91f2b920677383c619",
      "fileid": "1ef791b26bea578bca089914126fd7f7b1912887c0addcfdcf8857852bbe111e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/krisrs1128/actions/runs/26704888306"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-05-31T06:09:59.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "57571dad4a7b3afc17588c91f2b920677383c619",
      "fileid": "e256a939944419a44df05a9629c0886b65bb3a5bd104be82748c939748c36d57",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/krisrs1128/actions/runs/26704888306"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-05-31T06:17:41.000Z",
      "arch": "aarch64",
      "commit": "57571dad4a7b3afc17588c91f2b920677383c619",
      "fileid": "0a194178dab3a0828506569045e6672d1f7ccd7e99f95ff9ce3d4507ae2da647",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/krisrs1128/actions/runs/26704888306"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-05-31T06:20:04.000Z",
      "arch": "x86_64",
      "commit": "57571dad4a7b3afc17588c91f2b920677383c619",
      "fileid": "cbbbfe3f8794e6f82c14f30a4fd7d36ea25d33c7222ddc23de02abbca78f620c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/krisrs1128/actions/runs/26704888306"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-05-31T06:16:49.000Z",
      "arch": "aarch64",
      "commit": "57571dad4a7b3afc17588c91f2b920677383c619",
      "fileid": "02f38ece281a5d3896a37c7085cc8feae9e0fd3621f87a5f5fe1f7cd7d92ad87",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/krisrs1128/actions/runs/26704888306"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-05-31T06:19:12.000Z",
      "arch": "x86_64",
      "commit": "57571dad4a7b3afc17588c91f2b920677383c619",
      "fileid": "7b2db7fa4970b789c3c247510947771a9b0f1ee6665ddf95277586db20a23f03",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/krisrs1128/actions/runs/26704888306"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-05-31T06:10:26.000Z",
      "arch": "x86_64",
      "commit": "57571dad4a7b3afc17588c91f2b920677383c619",
      "fileid": "e04c11659f641d3caad74b759a29c0a68180d71060d135cb7d44546c195b37ca",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/krisrs1128/actions/runs/26704888306"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-05-31T06:09:19.000Z",
      "arch": "x86_64",
      "commit": "57571dad4a7b3afc17588c91f2b920677383c619",
      "fileid": "3283157d0696f36aaa340ede0c292c7a202d95fc10ac2aa6ba9e9a9aae884f02",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/krisrs1128/actions/runs/26704888306"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-05-31T06:09:30.000Z",
      "arch": "x86_64",
      "commit": "57571dad4a7b3afc17588c91f2b920677383c619",
      "fileid": "c9b4f1e591a1e8691ec8432512ea534371ad7466f86007ee1e0dea00b6237c27",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/krisrs1128/actions/runs/26704888306"
    }
  ]
}