{
  "_id": "6aeb23049ceaa78f2009f27b",
  "Package": "lda",
  "Type": "Package",
  "Title": "Collapsed Gibbs Sampling Methods for Topic Models",
  "Version": "1.5.2",
  "Date": "2024-04-25",
  "Author": "Jonathan Chang",
  "Maintainer": "Santiago Olivella <olivella@unc.edu>",
  "Description": "Implements latent Dirichlet allocation (LDA) and related\nmodels.  This includes (but is not limited to) sLDA, corrLDA,\nand the mixed-membership stochastic blockmodel.  Inference for\nall of these models is implemented via a fast collapsed Gibbs\nsampler written in C.  Utility functions for reading/writing\ndata typically used in topic models, as well as tools for\nexamining posterior distributions are also included.",
  "License": "LGPL (>= 2.1)",
  "LazyLoad": "yes",
  "Repository": "https://solivella.r-universe.dev",
  "Date/Publication": "2024-04-26 21:29:21 UTC",
  "RemoteUrl": "https://github.com/solivella/lda",
  "RemoteRef": "HEAD",
  "RemoteSha": "62c5e3a61411b0f54d5c38d4aaf54c2b65a711dc",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-11-04 12:12:20 UTC",
    "User": "root"
  },
  "_user": "solivella",
  "_type": "src",
  "_file": "lda_1.5.2.tar.gz",
  "_fileid": "https://r2.ropensci.org/4efa037f5e71972b57ffcdeda004e7aa82b64fe30c02f3068e745885aebacf55",
  "_filesize": 7209640,
  "_sha256": "4efa037f5e71972b57ffcdeda004e7aa82b64fe30c02f3068e745885aebacf55",
  "_expires": "2027-02-12T12:20:18.000Z",
  "_created": "2026-11-04T12:12:20.000Z",
  "_published": "2026-11-04T12:20:20.677Z",
  "_upstream": "https://github.com/solivella/lda",
  "_status": "success",
  "_maintainer": {
    "name": "Santiago Olivella",
    "email": "olivella@unc.edu",
    "login": "solivella",
    "description": "",
    "uuid": 13560956
  },
  "_jobs": [
    {
      "job": 126565219082,
      "time": 105,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "13320336031"
    },
    {
      "job": 126565219088,
      "time": 134,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "13320470663"
    },
    {
      "job": 126565219451,
      "time": 99,
      "config": "linux-release-arm64",
      "r": "4.6.2",
      "check": "WARNING",
      "artifact": "13319199247"
    },
    {
      "job": 126565219234,
      "time": 118,
      "config": "linux-release-x86_64",
      "r": "4.6.2",
      "check": "WARNING",
      "artifact": "13320591399"
    },
    {
      "job": 126565219114,
      "time": 209,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "13320127104"
    },
    {
      "job": 126565219205,
      "time": 437,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "13321240986"
    },
    {
      "job": 126565219290,
      "time": 178,
      "config": "macos-release-arm64",
      "r": "4.6.2",
      "check": "WARNING",
      "artifact": "13320566524"
    },
    {
      "job": 126565219084,
      "time": 351,
      "config": "macos-release-x86_64",
      "r": "4.6.2",
      "check": "WARNING",
      "artifact": "13320406242"
    },
    {
      "job": 126563960557,
      "time": 152,
      "config": "source",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13319488094"
    },
    {
      "job": 126565219023,
      "time": 100,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "13319468557"
    },
    {
      "job": 126565219262,
      "time": 333,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "13319768545"
    },
    {
      "job": 126565219264,
      "time": 140,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "13321315178"
    },
    {
      "job": 126565219222,
      "time": 81,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "13319962382"
    },
    {
      "job": 126565219297,
      "time": 345,
      "config": "windows-release-arm64",
      "r": "4.6.2",
      "check": "WARNING",
      "artifact": "13320850045"
    },
    {
      "job": 126565219165,
      "time": 104,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "WARNING",
      "artifact": "13321125161"
    }
  ],
  "_buildurl": "https://github.com/r-universe/solivella/actions/runs/41826885605",
  "_commit": {
    "id": "62c5e3a61411b0f54d5c38d4aaf54c2b65a711dc",
    "author": "Santiago Olivella <olivella@unc.edu>",
    "committer": "Santiago Olivella <olivella@unc.edu>",
    "message": "Fix format of long int\n",
    "time": 1714166961
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.3.0",
      "role": "Depends"
    },
    {
      "package": "methods",
      "version": ">= 4.3.0",
      "role": "Imports"
    },
    {
      "package": "Matrix",
      "role": "Suggests"
    },
    {
      "package": "reshape2",
      "role": "Suggests"
    },
    {
      "package": "ggplot2",
      "version": ">= 3.4.4",
      "role": "Suggests"
    },
    {
      "package": "penalized",
      "role": "Suggests"
    },
    {
      "package": "nnet",
      "role": "Suggests"
    }
  ],
  "_owner": "solivella",
  "_selfowned": true,
  "_usedby": 12,
  "_updates": [],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "solivella",
      "count": 13,
      "uuid": 13560956
    }
  ],
  "_userbio": {
    "uuid": 13560956,
    "type": "user",
    "name": "Santiago Olivella",
    "followers": 22
  },
  "_downloads": {
    "count": 5125,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/lda"
  },
  "_mentions": 15,
  "_devurl": "https://github.com/solivella/lda",
  "_searchresults": 528,
  "_rbuild": "4.6.2",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/lda.html",
    "extra/manual.pdf",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_homeurl": "https://github.com/solivella/lda",
  "_realowner": "solivella",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.1",
      "date": "2009-09-29"
    },
    {
      "version": "1.2",
      "date": "2010-03-08"
    },
    {
      "version": "1.2.1",
      "date": "2010-07-03"
    },
    {
      "version": "1.2.2",
      "date": "2010-10-18"
    },
    {
      "version": "1.2.3",
      "date": "2010-10-25"
    },
    {
      "version": "1.3",
      "date": "2011-10-27"
    },
    {
      "version": "1.3.1",
      "date": "2011-11-03"
    },
    {
      "version": "1.3.2",
      "date": "2012-10-14"
    },
    {
      "version": "1.4.2",
      "date": "2015-11-22"
    },
    {
      "version": "1.5.2",
      "date": "2024-04-27"
    }
  ],
  "_exports": [
    "concatenate.documents",
    "document.lengths",
    "filter.words",
    "lda.collapsed.gibbs.sampler",
    "lda.cvb0",
    "lexicalize",
    "links.as.edgelist",
    "mmsb.collapsed.gibbs.sampler",
    "nubbi.collapsed.gibbs.sampler",
    "predictive.distribution",
    "predictive.link.probability",
    "read.documents",
    "read.vocab",
    "rtm.collapsed.gibbs.sampler",
    "rtm.em",
    "shift.word.indices",
    "slda.em",
    "slda.predict",
    "slda.predict.docsums",
    "top.topic.documents",
    "top.topic.words",
    "word.counts"
  ],
  "_datasets": [
    {
      "name": "cora.cites",
      "title": "A subset of the Cora dataset of scientific documents.",
      "object": "cora.cites",
      "file": "cora.cites.rda",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "cora.documents",
      "title": "A subset of the Cora dataset of scientific documents.",
      "object": "cora.documents",
      "file": "cora.documents.rda",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "cora.titles",
      "title": "A subset of the Cora dataset of scientific documents.",
      "object": "cora.titles",
      "file": "cora.titles.rda",
      "class": [
        "character"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "cora.vocab",
      "title": "A subset of the Cora dataset of scientific documents.",
      "object": "cora.vocab",
      "file": "cora.vocab.rda",
      "class": [
        "character"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "newsgroup.label.map",
      "title": "A collection of newsgroup messages with classes.",
      "object": "newsgroup.label.map",
      "file": "newsgroup.label.map.rda",
      "class": [
        "data.frame"
      ],
      "fields": [
        "V1",
        "V2"
      ],
      "rows": 20,
      "table": true,
      "tojson": true
    },
    {
      "name": "newsgroup.test.documents",
      "title": "A collection of newsgroup messages with classes.",
      "object": "newsgroup.test.documents",
      "file": "newsgroup.test.documents.rda",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "newsgroup.test.labels",
      "title": "A collection of newsgroup messages with classes.",
      "object": "newsgroup.test.labels",
      "file": "newsgroup.test.labels.rda",
      "class": [
        "integer"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "newsgroup.train.documents",
      "title": "A collection of newsgroup messages with classes.",
      "object": "newsgroup.train.documents",
      "file": "newsgroup.train.documents.rda",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "newsgroup.train.labels",
      "title": "A collection of newsgroup messages with classes.",
      "object": "newsgroup.train.labels",
      "file": "newsgroup.train.labels.rda",
      "class": [
        "integer"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "newsgroup.vocab",
      "title": "A collection of newsgroup messages with classes.",
      "object": "newsgroup.vocab",
      "file": "newsgroup.vocab.rda",
      "class": [
        "character"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "poliblog.documents",
      "title": "A collection of political blogs with ratings.",
      "object": "poliblog.documents",
      "file": "poliblog.documents.rda",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "poliblog.ratings",
      "title": "A collection of political blogs with ratings.",
      "object": "poliblog.ratings",
      "file": "poliblog.ratings.rda",
      "class": [
        "numeric"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "poliblog.vocab",
      "title": "A collection of political blogs with ratings.",
      "object": "poliblog.vocab",
      "file": "poliblog.vocab.rda",
      "class": [
        "character"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "sampson",
      "title": "Sampson monk data",
      "object": "sampson",
      "file": "sampson.rda",
      "class": [
        "list"
      ],
      "fields": [],
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "lda-package",
      "title": "Collapsed Gibbs Sampling Methods for Topic Models",
      "topics": [
        "lda-package",
        "lda"
      ]
    },
    {
      "page": "cora",
      "title": "A subset of the Cora dataset of scientific documents.",
      "topics": [
        "cora",
        "cora.cites",
        "cora.documents",
        "cora.titles",
        "cora.vocab"
      ]
    },
    {
      "page": "filter.words",
      "title": "Functions to manipulate text corpora in LDA format.",
      "topics": [
        "concatenate.documents",
        "filter.words",
        "shift.word.indices"
      ]
    },
    {
      "page": "lda.collapsed.gibbs.sampler",
      "title": "Functions to Fit LDA-type models",
      "topics": [
        "lda.collapsed.gibbs.sampler",
        "lda.cvb0",
        "mmsb.collapsed.gibbs.sampler",
        "slda.em"
      ]
    },
    {
      "page": "lexicalize",
      "title": "Generate LDA Documents from Raw Text",
      "topics": [
        "lexicalize"
      ]
    },
    {
      "page": "links.as.edgelist",
      "title": "Convert a set of links keyed on source to a single list of edges.",
      "topics": [
        "links.as.edgelist"
      ]
    },
    {
      "page": "newsgroups",
      "title": "A collection of newsgroup messages with classes.",
      "topics": [
        "newsgroup",
        "newsgroup.label.map",
        "newsgroup.test.documents",
        "newsgroup.test.labels",
        "newsgroup.train.documents",
        "newsgroup.train.labels",
        "newsgroup.vocab"
      ]
    },
    {
      "page": "nubbi.collapsed.gibbs.sampler",
      "title": "Collapsed Gibbs Sampling for the Networks Uncovered By Bayesian Inference (NUBBI) Model.",
      "topics": [
        "nubbi.collapsed.gibbs.sampler"
      ]
    },
    {
      "page": "poliblog",
      "title": "A collection of political blogs with ratings.",
      "topics": [
        "poliblog",
        "poliblog.documents",
        "poliblog.ratings",
        "poliblog.vocab"
      ]
    },
    {
      "page": "predictive.distribution",
      "title": "Compute predictive distributions for fitted LDA-type models.",
      "topics": [
        "predictive.distribution"
      ]
    },
    {
      "page": "predictive.link.probability",
      "title": "Use the RTM to predict whether a link exists between two documents.",
      "topics": [
        "predictive.link.probability"
      ]
    },
    {
      "page": "read.documents",
      "title": "Read LDA-formatted Document and Vocabulary Files",
      "topics": [
        "read.documents",
        "read.vocab"
      ]
    },
    {
      "page": "rtm.collapsed.gibbs.sampler",
      "title": "Collapsed Gibbs Sampling for the Relational Topic Model (RTM).",
      "topics": [
        "rtm.collapsed.gibbs.sampler",
        "rtm.em"
      ]
    },
    {
      "page": "sampson",
      "title": "Sampson monk data",
      "topics": [
        "sampson"
      ]
    },
    {
      "page": "slda.predict",
      "title": "Predict the response variable of documents using an sLDA model.",
      "topics": [
        "slda.predict",
        "slda.predict.docsums"
      ]
    },
    {
      "page": "top.topic.words",
      "title": "Get the Top Words and Documents in Each Topic",
      "topics": [
        "top.topic.documents",
        "top.topic.words"
      ]
    },
    {
      "page": "word.counts",
      "title": "Compute Summary Statistics of a Corpus",
      "topics": [
        "document.lengths",
        "word.counts"
      ]
    }
  ],
  "_readme": "https://github.com/solivella/lda/raw/HEAD/README.md",
  "_rundeps": [],
  "_score": 7.687600297364909,
  "_indexed": true,
  "_nocasepkg": "lda",
  "_universes": [
    "solivella"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.5.2",
      "date": "2026-11-04T12:13:58.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "62c5e3a61411b0f54d5c38d4aaf54c2b65a711dc",
      "fileid": "https://r2.ropensci.org/bafb42a5be5167ff6f217b08ed2476656e14e69e5ba6e3d5632cc7c36165fab0",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/solivella/actions/runs/41826885605"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.5.2",
      "date": "2026-11-04T12:14:19.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "62c5e3a61411b0f54d5c38d4aaf54c2b65a711dc",
      "fileid": "https://r2.ropensci.org/19ab50aa677083d29ee172966acd3814179c49052dad6774c20a1d662f147ba1",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/solivella/actions/runs/41826885605"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "1.5.2",
      "date": "2026-11-04T12:13:58.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "62c5e3a61411b0f54d5c38d4aaf54c2b65a711dc",
      "fileid": "https://r2.ropensci.org/2705a270b2fdc15888d1d81f6c88be4405499216a4799e24cddab434a33b7de5",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/solivella/actions/runs/41826885605"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "1.5.2",
      "date": "2026-11-04T12:14:08.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "62c5e3a61411b0f54d5c38d4aaf54c2b65a711dc",
      "fileid": "https://r2.ropensci.org/93e4454570474822c7fd14fd9bdd78cfcd346cb9c00fb53195ee00918a8486b2",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/solivella/actions/runs/41826885605"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.5.2",
      "date": "2026-11-04T12:15:11.000Z",
      "arch": "aarch64",
      "commit": "62c5e3a61411b0f54d5c38d4aaf54c2b65a711dc",
      "fileid": "https://r2.ropensci.org/593f649c7da1b5dc64516b0adba6339ecfe815ba0c42af90865a2410ebcef3be",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/solivella/actions/runs/41826885605"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.5.2",
      "date": "2026-11-04T12:17:21.000Z",
      "arch": "x86_64",
      "commit": "62c5e3a61411b0f54d5c38d4aaf54c2b65a711dc",
      "fileid": "https://r2.ropensci.org/65367bd8d8e5bf7ca8bd5c78f72374e39c55d846e220e63d17096c1afc6bd303",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/solivella/actions/runs/41826885605"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "1.5.2",
      "date": "2026-11-04T12:14:37.000Z",
      "arch": "aarch64",
      "commit": "62c5e3a61411b0f54d5c38d4aaf54c2b65a711dc",
      "fileid": "https://r2.ropensci.org/cd4ec7fdadb10b13c8304a22286d5fa4468b487b50d9f060892e8cd71f795410",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/solivella/actions/runs/41826885605"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "1.5.2",
      "date": "2026-11-04T12:16:49.000Z",
      "arch": "x86_64",
      "commit": "62c5e3a61411b0f54d5c38d4aaf54c2b65a711dc",
      "fileid": "https://r2.ropensci.org/db937d551ec28843340aedac807d9c5a60dcd742b237588a40b56c849e9c643a",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/solivella/actions/runs/41826885605"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.5.2",
      "date": "2026-11-04T12:14:21.000Z",
      "arch": "emscripten",
      "commit": "62c5e3a61411b0f54d5c38d4aaf54c2b65a711dc",
      "fileid": "https://r2.ropensci.org/86b17560a23dbbbb35292698963ff83fe7e1c54005126b44cadbff73a5d7512d",
      "status": "success",
      "buildurl": "https://github.com/r-universe/solivella/actions/runs/41826885605"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.5.2",
      "date": "2026-11-04T12:17:03.000Z",
      "arch": "aarch64",
      "commit": "62c5e3a61411b0f54d5c38d4aaf54c2b65a711dc",
      "fileid": "https://r2.ropensci.org/7e1b6b0ca7fd1993f751f7cc5760bbe85b4e2beafd7d1a2c6357c09e5e560ea8",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/solivella/actions/runs/41826885605"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.5.2",
      "date": "2026-11-04T12:13:40.000Z",
      "arch": "x86_64",
      "commit": "62c5e3a61411b0f54d5c38d4aaf54c2b65a711dc",
      "fileid": "https://r2.ropensci.org/b10484b0a5d47e3245c2e197266f33428fbe8354d0fa44aced2d4484d6cc4a44",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/solivella/actions/runs/41826885605"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.5.2",
      "date": "2026-11-04T12:13:28.000Z",
      "arch": "x86_64",
      "commit": "62c5e3a61411b0f54d5c38d4aaf54c2b65a711dc",
      "fileid": "https://r2.ropensci.org/3a6e9b4fbf7f287388030fe85bb3d8b9cd839d17c4e8e77fac7bd3748f065ca8",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/solivella/actions/runs/41826885605"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "1.5.2",
      "date": "2026-11-04T12:17:25.000Z",
      "arch": "aarch64",
      "commit": "62c5e3a61411b0f54d5c38d4aaf54c2b65a711dc",
      "fileid": "https://r2.ropensci.org/d298f01691ac5eb79aef3150663ee11102ec583a66ef4d39b74e2f1f7ff50f0f",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/solivella/actions/runs/41826885605"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "1.5.2",
      "date": "2026-11-04T12:13:41.000Z",
      "arch": "x86_64",
      "commit": "62c5e3a61411b0f54d5c38d4aaf54c2b65a711dc",
      "fileid": "https://r2.ropensci.org/6fb824a82b2b006c228eef05a8f4cb581e35eae44200e3d92660f4507aed9eae",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/solivella/actions/runs/41826885605"
    }
  ]
}