{
  "_id": "6a632efed3420cf5dfdb8497",
  "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-07-24 07:31:43 UTC",
    "User": "root"
  },
  "_user": "solivella",
  "_type": "src",
  "_file": "lda_1.5.2.tar.gz",
  "_fileid": "https://r2.ropensci.org/e5bd1840ad610222d576de9148d72b4b7fb4f8705d7b3b9af7a02c782ceb6c38",
  "_filesize": 7211108,
  "_sha256": "e5bd1840ad610222d576de9148d72b4b7fb4f8705d7b3b9af7a02c782ceb6c38",
  "_expires": "2026-11-01T09:23:07.000Z",
  "_created": "2026-07-24T07:31:43.000Z",
  "_published": "2026-07-24T09:23:10.320Z",
  "_jobs": [
    {
      "job": 89426083662,
      "time": 149,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "8589828791"
    },
    {
      "job": 89426083690,
      "time": 137,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "8589824913"
    },
    {
      "job": 89426083681,
      "time": 119,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "8589819313"
    },
    {
      "job": 89426083696,
      "time": 134,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "8589824069"
    },
    {
      "job": 89426083631,
      "time": 181,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "8591960763"
    },
    {
      "job": 89426083651,
      "time": 231,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "8592093360"
    },
    {
      "job": 89426083665,
      "time": 135,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "8592299535"
    },
    {
      "job": 89426083763,
      "time": 211,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "8592077663"
    },
    {
      "job": 89425595405,
      "time": 166,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8589775348"
    },
    {
      "job": 89426083598,
      "time": 103,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8589812931"
    },
    {
      "job": 89426083635,
      "time": 99,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "8589811536"
    },
    {
      "job": 89426083647,
      "time": 146,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "8589827872"
    },
    {
      "job": 89426083687,
      "time": 94,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "8589809589"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/solivella/actions/runs/30075605557",
  "_status": "success",
  "_upstream": "https://github.com/solivella/lda",
  "_commit": {
    "id": "62c5e3a61411b0f54d5c38d4aaf54c2b65a711dc",
    "author": "Santiago Olivella <olivella@unc.edu>",
    "committer": "Santiago Olivella <olivella@unc.edu>",
    "message": "Fix format of long int\n",
    "time": 1714166961
  },
  "_maintainer": {
    "name": "Santiago Olivella",
    "email": "olivella@unc.edu",
    "login": "solivella",
    "description": "",
    "uuid": 13560956
  },
  "_distro": "resolute",
  "_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": 11,
  "_updates": [],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "solivella",
      "count": 13,
      "uuid": 13560956
    }
  ],
  "_userbio": {
    "uuid": 13560956,
    "type": "user",
    "name": "Santiago Olivella",
    "followers": 22
  },
  "_downloads": {
    "count": 4371,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/lda"
  },
  "_mentions": 15,
  "_devurl": "https://github.com/solivella/lda",
  "_searchresults": 554,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/lda.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_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.601574515431989,
  "_indexed": true,
  "_nocasepkg": "lda",
  "_universes": [
    "solivella"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.5.2",
      "date": "2026-07-24T07:34:09.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "62c5e3a61411b0f54d5c38d4aaf54c2b65a711dc",
      "fileid": "https://r2.ropensci.org/48d65a002279ad3b94b53ed5d6657a2291cbf3b28c37dbfeafab37017bb22455",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/solivella/actions/runs/30075605557"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.5.2",
      "date": "2026-07-24T07:33:50.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "62c5e3a61411b0f54d5c38d4aaf54c2b65a711dc",
      "fileid": "https://r2.ropensci.org/80fad0956860d520180cdd95c043b7df8641ce32678f0e5b230fcab37a20e31f",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/solivella/actions/runs/30075605557"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.5.2",
      "date": "2026-07-24T07:33:44.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "62c5e3a61411b0f54d5c38d4aaf54c2b65a711dc",
      "fileid": "https://r2.ropensci.org/d2709ae20dfbb036bf70307fd39038b6045e29c7423efc693fa2dca5394652ac",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/solivella/actions/runs/30075605557"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.5.2",
      "date": "2026-07-24T07:33:51.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "62c5e3a61411b0f54d5c38d4aaf54c2b65a711dc",
      "fileid": "https://r2.ropensci.org/87f2ea4cd15b69ff87e6e0faa223137c394b2c043f2c751da25d0f7370f53226",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/solivella/actions/runs/30075605557"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.5.2",
      "date": "2026-07-24T09:07:49.000Z",
      "arch": "aarch64",
      "commit": "62c5e3a61411b0f54d5c38d4aaf54c2b65a711dc",
      "fileid": "https://r2.ropensci.org/0e96f4e4ab2d3db4e162e365908a5a59762c6243015817e9500136048826b529",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/solivella/actions/runs/30075605557"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.5.2",
      "date": "2026-07-24T09:13:03.000Z",
      "arch": "x86_64",
      "commit": "62c5e3a61411b0f54d5c38d4aaf54c2b65a711dc",
      "fileid": "https://r2.ropensci.org/0adf627b0ba5336135bfc4f8466e036ce74e4b1d4f5f04ebf8fe701f7d0fea5f",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/solivella/actions/runs/30075605557"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.5.2",
      "date": "2026-07-24T09:21:56.000Z",
      "arch": "aarch64",
      "commit": "62c5e3a61411b0f54d5c38d4aaf54c2b65a711dc",
      "fileid": "https://r2.ropensci.org/068d81018f1df01d2c38381977f5830a7cbdb3bbb7c45b856bfd05cf63a532c7",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/solivella/actions/runs/30075605557"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.5.2",
      "date": "2026-07-24T09:12:36.000Z",
      "arch": "x86_64",
      "commit": "62c5e3a61411b0f54d5c38d4aaf54c2b65a711dc",
      "fileid": "https://r2.ropensci.org/6cb3d985f9f47ce243fb21dbaa05dd57b3a98ef8c2e8e13d22ed6b7a65de7324",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/solivella/actions/runs/30075605557"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.5.2",
      "date": "2026-07-24T07:33:47.000Z",
      "arch": "emscripten",
      "commit": "62c5e3a61411b0f54d5c38d4aaf54c2b65a711dc",
      "fileid": "https://r2.ropensci.org/ac96c81ff156b6f20d560514b16d486b054eb62a09adf1a84918155c37f063b1",
      "status": "success",
      "buildurl": "https://github.com/r-universe/solivella/actions/runs/30075605557"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.5.2",
      "date": "2026-07-24T07:32:59.000Z",
      "arch": "x86_64",
      "commit": "62c5e3a61411b0f54d5c38d4aaf54c2b65a711dc",
      "fileid": "https://r2.ropensci.org/00a6a992415a1873d7bee8402c07070f4a3f6c1b8f95a56b0e80e05ab848bc98",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/solivella/actions/runs/30075605557"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.5.2",
      "date": "2026-07-24T07:33:45.000Z",
      "arch": "x86_64",
      "commit": "62c5e3a61411b0f54d5c38d4aaf54c2b65a711dc",
      "fileid": "https://r2.ropensci.org/e8f6867cd63bdbfd975b07390efa68e337e14987162895f1257c1a3b05d09eca",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/solivella/actions/runs/30075605557"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.5.2",
      "date": "2026-07-24T07:32:58.000Z",
      "arch": "x86_64",
      "commit": "62c5e3a61411b0f54d5c38d4aaf54c2b65a711dc",
      "fileid": "https://r2.ropensci.org/87aabeb31f58c4287e58c2fbe62beab56d552b7df9f778307ee438834bd7e0fd",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/solivella/actions/runs/30075605557"
    }
  ]
}