{
  "_id": "6a495f2877d6db3f2f9659e0",
  "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-06-24 10:00:16 UTC",
    "User": "root"
  },
  "_user": "solivella",
  "_type": "src",
  "_file": "lda_1.5.2.tar.gz",
  "_fileid": "https://r2.ropensci.org/3862ad613143b954bb6741aed5e627b5a1c251be14c9c2d8d0c8ac47ae267c98",
  "_filesize": 7211663,
  "_sha256": "3862ad613143b954bb6741aed5e627b5a1c251be14c9c2d8d0c8ac47ae267c98",
  "_expires": "2026-10-12T19:29:42.000Z",
  "_created": "2026-06-24T10:00:16.000Z",
  "_published": "2026-07-04T19:29:44.677Z",
  "_jobs": [
    {
      "job": 85160602032,
      "time": 163,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "7846297953"
    },
    {
      "job": 85160602094,
      "time": 148,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "7846291304"
    },
    {
      "job": 85160602042,
      "time": 140,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "7846289300"
    },
    {
      "job": 85160602028,
      "time": 163,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "7846296582"
    },
    {
      "job": 85160602059,
      "time": 141,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "7846288449"
    },
    {
      "job": 85160602065,
      "time": 187,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "7846306335"
    },
    {
      "job": 85160602029,
      "time": 110,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "7846276742"
    },
    {
      "job": 85160602043,
      "time": 213,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "7846316790"
    },
    {
      "job": 85160601832,
      "time": 147,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7846232240"
    },
    {
      "job": 85160601965,
      "time": 135,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7846286059"
    },
    {
      "job": 85160601937,
      "time": 102,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "7846273752"
    },
    {
      "job": 85160602092,
      "time": 92,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "7846269852"
    },
    {
      "job": 85160601989,
      "time": 99,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "7846272447"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/solivella/actions/runs/28090490117",
  "_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": 5279,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/lda"
  },
  "_mentions": 15,
  "_devurl": "https://github.com/solivella/lda",
  "_searchresults": 554,
  "_rbuild": "4.6.0",
  "_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.683545370943294,
  "_indexed": true,
  "_nocasepkg": "lda",
  "_universes": [
    "solivella"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.5.2",
      "date": "2026-06-24T10:02:57.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "62c5e3a61411b0f54d5c38d4aaf54c2b65a711dc",
      "fileid": "https://r2.ropensci.org/90521c00e3d7a4c4b292fb1a7c108c50b3c76fa1c89ad7c67ecc391fcb1058c2",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/solivella/actions/runs/28090490117"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.5.2",
      "date": "2026-06-24T10:02:31.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "62c5e3a61411b0f54d5c38d4aaf54c2b65a711dc",
      "fileid": "https://r2.ropensci.org/55eb7a523d46b5f730812f4ca3e4bfe8af024565c0ff8a52eac77329599ba344",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/solivella/actions/runs/28090490117"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.5.2",
      "date": "2026-06-24T10:02:37.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "62c5e3a61411b0f54d5c38d4aaf54c2b65a711dc",
      "fileid": "https://r2.ropensci.org/0e12aad34898f42314745581066fe4feb3f8812c1a7b28ade13342a4e400d1d2",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/solivella/actions/runs/28090490117"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.5.2",
      "date": "2026-06-24T10:02:46.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "62c5e3a61411b0f54d5c38d4aaf54c2b65a711dc",
      "fileid": "https://r2.ropensci.org/b455c5da9b68be0ccc9d08543f7f80d203b568ef9f0856896a90522690425f92",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/solivella/actions/runs/28090490117"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.5.2",
      "date": "2026-06-24T10:02:21.000Z",
      "arch": "aarch64",
      "commit": "62c5e3a61411b0f54d5c38d4aaf54c2b65a711dc",
      "fileid": "https://r2.ropensci.org/f757a2d9d0668a8afb7ccf949300ce7e0e5ca0ad49e29c3ff275339aa4ce4db6",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/solivella/actions/runs/28090490117"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.5.2",
      "date": "2026-06-24T10:03:02.000Z",
      "arch": "x86_64",
      "commit": "62c5e3a61411b0f54d5c38d4aaf54c2b65a711dc",
      "fileid": "https://r2.ropensci.org/0e4b1527c1732cae0fffa2a3d0ec0a2b133c793fdbfdfec222a5b5f52e2f2963",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/solivella/actions/runs/28090490117"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.5.2",
      "date": "2026-06-24T10:01:46.000Z",
      "arch": "aarch64",
      "commit": "62c5e3a61411b0f54d5c38d4aaf54c2b65a711dc",
      "fileid": "https://r2.ropensci.org/f5a1662945e49acea14c1c619867b64a96fa962d3eabe1571fbc316ac8d0661f",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/solivella/actions/runs/28090490117"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.5.2",
      "date": "2026-06-24T10:03:23.000Z",
      "arch": "x86_64",
      "commit": "62c5e3a61411b0f54d5c38d4aaf54c2b65a711dc",
      "fileid": "https://r2.ropensci.org/a60603a88179a52165e05fa70f1af89cab730793b60df189e3b36228a748c56a",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/solivella/actions/runs/28090490117"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.5.2",
      "date": "2026-06-24T10:02:49.000Z",
      "arch": "emscripten",
      "commit": "62c5e3a61411b0f54d5c38d4aaf54c2b65a711dc",
      "fileid": "https://r2.ropensci.org/b33c099beeac1c07ee6f2512fa2f5939d3d1bbf9cf615da5cc8ef32f93094de8",
      "status": "success",
      "buildurl": "https://github.com/r-universe/solivella/actions/runs/28090490117"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.5.2",
      "date": "2026-06-24T10:01:35.000Z",
      "arch": "x86_64",
      "commit": "62c5e3a61411b0f54d5c38d4aaf54c2b65a711dc",
      "fileid": "https://r2.ropensci.org/6e2b29afe6dbe5cb4be9f20ac54fb592a0f52bee66fbf1608470984af6d57a93",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/solivella/actions/runs/28090490117"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.5.2",
      "date": "2026-06-24T10:01:26.000Z",
      "arch": "x86_64",
      "commit": "62c5e3a61411b0f54d5c38d4aaf54c2b65a711dc",
      "fileid": "https://r2.ropensci.org/a6cc3cec1644a1987d50bdce8b5ba9452fbacd6f293a8d7074e60f66fe44927b",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/solivella/actions/runs/28090490117"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.5.2",
      "date": "2026-06-24T10:01:34.000Z",
      "arch": "x86_64",
      "commit": "62c5e3a61411b0f54d5c38d4aaf54c2b65a711dc",
      "fileid": "https://r2.ropensci.org/36a148fe5c9f89d555caeb8d27be13bf9f75b033a91ef406d01cdc701d771f34",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/solivella/actions/runs/28090490117"
    }
  ]
}