{
  "_id": "6a23d3ac530b9bc726be3e25",
  "Package": "RMallow",
  "Type": "Package",
  "Title": "Fit Multi-Modal Mallows' Models to Ranking Data",
  "Version": "1.2.0",
  "Authors@R": "person(\"Erik\", \"Gregory\", email = \"egregory2011@gmail.com\",\nrole = c(\"aut\", \"cre\"))",
  "Author": "Erik Gregory [aut, cre]",
  "Maintainer": "Erik Gregory <egregory2011@gmail.com>",
  "Description": "An EM algorithm to fit Mallows' mixture models to full or\npartial rankings, with or without ties. The Mallows model is a\ndistance-based probability model over rankings, where\nprobability decreases exponentially with distance from a\ncentral (modal) ranking. This package implements mixture models\nto handle multi-modal ranking data, as described in Murphy and\nMartin (2003) <doi:10.1016/S0167-9473(02)00165-2> and Adkins\nand Fligner (1998) <doi:10.1080/03610929808832223>.",
  "License": "GPL (>= 2)",
  "URL": "https://github.com/erikgregory/RMallow",
  "BugReports": "https://github.com/erikgregory/RMallow/issues",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "RoxygenNote": "7.2.3",
  "Config/testthat/edition": "3",
  "NeedsCompilation": "yes",
  "Repository": "https://e-gregory.r-universe.dev",
  "Date/Publication": "2025-12-07 07:33:53 UTC",
  "RemoteUrl": "https://github.com/e-gregory/rmallow",
  "RemoteRef": "HEAD",
  "RemoteSha": "4db25ce8e26e62795b59c252d1c12d8b7d8c7c75",
  "Packaged": {
    "Date": "2026-06-06 07:53:56 UTC",
    "User": "root"
  },
  "MD5sum": "27f1a78088f60a77466b880bc99797d1",
  "_user": "e-gregory",
  "_type": "src",
  "_file": "RMallow_1.2.0.tar.gz",
  "_fileid": "502b3961f99b8a1ac038ddd1874537f6a84dcd25cc5bca0ddbddf08f0d637f9f",
  "_filesize": 269533,
  "_sha256": "502b3961f99b8a1ac038ddd1874537f6a84dcd25cc5bca0ddbddf08f0d637f9f",
  "_created": "2026-06-06T07:53:56.000Z",
  "_published": "2026-06-06T08:00:44.605Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79862452548,
      "time": 117,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7452627735"
    },
    {
      "job": 79862452538,
      "time": 120,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7452627603"
    },
    {
      "job": 79862452554,
      "time": 114,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7452627359"
    },
    {
      "job": 79862452545,
      "time": 117,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7452627440"
    },
    {
      "job": 79862452540,
      "time": 185,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "7452631528"
    },
    {
      "job": 79862452535,
      "time": 287,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "7452644051"
    },
    {
      "job": 79862452544,
      "time": 154,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7452626930"
    },
    {
      "job": 79862452530,
      "time": 365,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7452652047"
    },
    {
      "job": 79862223699,
      "time": 268,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7452613035"
    },
    {
      "job": 79862452521,
      "time": 100,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7452625285"
    },
    {
      "job": 79862452536,
      "time": 91,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7452624018"
    },
    {
      "job": 79862452529,
      "time": 111,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "7452626582"
    },
    {
      "job": 79862452528,
      "time": 103,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7452625675"
    }
  ],
  "_buildurl": "https://github.com/r-universe/e-gregory/actions/runs/27056653782",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/e-gregory/rmallow",
  "_commit": {
    "id": "4db25ce8e26e62795b59c252d1c12d8b7d8c7c75",
    "author": "e-gregory <45298789+e-gregory@users.noreply.github.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #2 from e-gregory/cursor/migrate-to-rcpp-for-performance-claude-4.5-opus-high-thinking-d670\n\nMigrate to rcpp for performance",
    "time": 1765092833
  },
  "_maintainer": {
    "name": "Erik Gregory",
    "email": "egregory2011@gmail.com",
    "login": "e-gregory",
    "description": "",
    "uuid": 45298789
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "combinat",
      "role": "Imports"
    },
    {
      "package": "grDevices",
      "role": "Imports"
    },
    {
      "package": "graphics",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "Rcpp",
      "version": ">= 1.0.0",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    }
  ],
  "_owner": "e-gregory",
  "_selfowned": true,
  "_usedby": 1,
  "_updates": [
    {
      "week": "2025-49",
      "n": 2
    }
  ],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "e-gregory",
      "count": 3,
      "uuid": 45298789
    },
    {
      "user": "cursoragent",
      "count": 1,
      "uuid": 199161495
    },
    {
      "user": "errrriikkkk",
      "count": 1,
      "uuid": 1019953
    }
  ],
  "_userbio": {
    "uuid": 45298789,
    "type": "user",
    "name": "e-gregory"
  },
  "_downloads": {
    "count": 136,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/RMallow"
  },
  "_mentions": 1,
  "_devurl": "https://github.com/erikgregory/rmallow",
  "_searchresults": 10,
  "_topics": [
    "cpp"
  ],
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/RMallow.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/e-gregory/rmallow",
  "_realowner": "e-gregory",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0",
      "date": "2012-02-21"
    },
    {
      "version": "1.1",
      "date": "2020-02-07"
    }
  ],
  "_exports": [
    "AllKendall",
    "AllSeqDists",
    "BestFit",
    "C_lam",
    "ConstructSeqs",
    "DistanceDistribution",
    "EStep",
    "FormatOut",
    "KendallInfo",
    "Lambda",
    "Likelihood",
    "Mallows",
    "NextTable",
    "Rgen",
    "SeqDistribution",
    "SimplifySequences",
    "UpdateLambda",
    "UpdateP",
    "UpdateR"
  ],
  "_datasets": [
    {
      "name": "datas",
      "title": "Sample synthetic data set",
      "object": "datas",
      "class": [
        "matrix",
        "array"
      ],
      "fields": {},
      "rows": 1700,
      "table": true,
      "tojson": true
    },
    {
      "name": "elect",
      "title": "1980 APA Presidential Candidate Ranking Data",
      "object": "elect",
      "class": [
        "matrix",
        "array"
      ],
      "fields": [
        "Carter",
        "Reagan",
        "Anderson"
      ],
      "rows": 1378,
      "table": true,
      "tojson": true
    },
    {
      "name": "three.mode",
      "title": "Three-mode Mallows model fit to synthetic data",
      "object": "three.mode",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "two.mode",
      "title": "Two-mode Mallows model fit to synthetic data",
      "object": "two.mode",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "two.seq",
      "title": "Two-mode Mallows model fit to APA election data",
      "object": "two.seq",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "RMallow-package",
      "title": "RMallow: Fit Multi-Modal Mallows' Models to Ranking Data",
      "topics": [
        "RMallow-package",
        "RMallow"
      ]
    },
    {
      "page": "AllKendall",
      "title": "Compute Kendall's distances between two sets of rankings",
      "topics": [
        "AllKendall"
      ]
    },
    {
      "page": "AllSeqDists",
      "title": "Compute distances from sequences to the canonical ordering",
      "topics": [
        "AllSeqDists"
      ]
    },
    {
      "page": "BestFit",
      "title": "Fit Mallows model multiple times and select best",
      "topics": [
        "BestFit"
      ]
    },
    {
      "page": "C_lam",
      "title": "Compute the normalizing constant for Mallows' model",
      "topics": [
        "C_lam"
      ]
    },
    {
      "page": "ConstructSeqs",
      "title": "Construct sequences from Kendall preference vectors",
      "topics": [
        "ConstructSeqs"
      ]
    },
    {
      "page": "datas",
      "title": "Sample synthetic data set",
      "topics": [
        "datas"
      ]
    },
    {
      "page": "DistanceDistribution",
      "title": "Compute the Kendall distance distribution in N! space",
      "topics": [
        "DistanceDistribution"
      ]
    },
    {
      "page": "elect",
      "title": "1980 APA Presidential Candidate Ranking Data",
      "topics": [
        "elect"
      ]
    },
    {
      "page": "EStep",
      "title": "E-Step of the EM algorithm",
      "topics": [
        "EStep"
      ]
    },
    {
      "page": "FormatOut",
      "title": "Format Mallows model output",
      "topics": [
        "FormatOut"
      ]
    },
    {
      "page": "KendallInfo",
      "title": "Compute pairwise comparison information for Kendall's distance",
      "topics": [
        "KendallInfo"
      ]
    },
    {
      "page": "Lambda",
      "title": "Objective function for lambda estimation",
      "topics": [
        "Lambda"
      ]
    },
    {
      "page": "Likelihood",
      "title": "Compute log-likelihood of Mallows mixture model",
      "topics": [
        "Likelihood"
      ]
    },
    {
      "page": "Mallows",
      "title": "Fit a Multi-Modal Mallows' Model to Ranking Data",
      "topics": [
        "Mallows"
      ]
    },
    {
      "page": "NextTable",
      "title": "Compute distance distribution for (N+1)! from N! space",
      "topics": [
        "NextTable"
      ]
    },
    {
      "page": "Rgen",
      "title": "Initialize cluster modal sequences",
      "topics": [
        "Rgen"
      ]
    },
    {
      "page": "SeqDistribution",
      "title": "Compute all Kendall distances in N! space by enumeration",
      "topics": [
        "SeqDistribution"
      ]
    },
    {
      "page": "SimplifySequences",
      "title": "Simplify tied rankings to consecutive integers",
      "topics": [
        "SimplifySequences"
      ]
    },
    {
      "page": "three.mode",
      "title": "Three-mode Mallows model fit to synthetic data",
      "topics": [
        "three.mode"
      ]
    },
    {
      "page": "two.mode",
      "title": "Two-mode Mallows model fit to synthetic data",
      "topics": [
        "two.mode"
      ]
    },
    {
      "page": "two.seq",
      "title": "Two-mode Mallows model fit to APA election data",
      "topics": [
        "two.seq"
      ]
    },
    {
      "page": "UpdateLambda",
      "title": "Update spread parameters (M-step)",
      "topics": [
        "UpdateLambda"
      ]
    },
    {
      "page": "UpdateP",
      "title": "Update cluster proportions (M-step)",
      "topics": [
        "UpdateP"
      ]
    },
    {
      "page": "UpdateR",
      "title": "Update modal sequences (M-step)",
      "topics": [
        "UpdateR"
      ]
    }
  ],
  "_rundeps": [
    "combinat",
    "Rcpp"
  ],
  "_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"
    }
  ],
  "_score": 2.778151250383644,
  "_indexed": true,
  "_nocasepkg": "rmallow",
  "_universes": [
    "e-gregory",
    "erikgregory"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.2.0",
      "date": "2026-06-06T07:56:04.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "4db25ce8e26e62795b59c252d1c12d8b7d8c7c75",
      "fileid": "711eb60d2f0bb2e9e217666735e254675b1c59319610d8ed2d16eca871d4bcb5",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/e-gregory/actions/runs/27056653782"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.2.0",
      "date": "2026-06-06T07:56:01.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "4db25ce8e26e62795b59c252d1c12d8b7d8c7c75",
      "fileid": "596368c3856f26d6b78eb05dcec92510a90957323a584ff9a23427719b153fa8",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/e-gregory/actions/runs/27056653782"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.2.0",
      "date": "2026-06-06T07:56:02.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "4db25ce8e26e62795b59c252d1c12d8b7d8c7c75",
      "fileid": "9608389382ffb4b5f31314a7857f80ea3257c5c8e12f0869ad31eff464f8b53d",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/e-gregory/actions/runs/27056653782"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.2.0",
      "date": "2026-06-06T07:55:59.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "4db25ce8e26e62795b59c252d1c12d8b7d8c7c75",
      "fileid": "9f19bd8286531c770999c9e89b682923a28dc47566a57689d4c2affbf8b2e668",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/e-gregory/actions/runs/27056653782"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.2.0",
      "date": "2026-06-06T07:56:32.000Z",
      "arch": "aarch64",
      "commit": "4db25ce8e26e62795b59c252d1c12d8b7d8c7c75",
      "fileid": "11f3d544eb2eed07c9a14740cdb2431b7ce9a8eb19cba6e0d28da2242a9afa02",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/e-gregory/actions/runs/27056653782"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.2.0",
      "date": "2026-06-06T07:58:05.000Z",
      "arch": "x86_64",
      "commit": "4db25ce8e26e62795b59c252d1c12d8b7d8c7c75",
      "fileid": "b636ad08e719d446b33910ac46766551ed415ac3c97bbb250c674349d9ea3f1f",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/e-gregory/actions/runs/27056653782"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.2.0",
      "date": "2026-06-06T07:55:58.000Z",
      "arch": "aarch64",
      "commit": "4db25ce8e26e62795b59c252d1c12d8b7d8c7c75",
      "fileid": "3660dbb4b6608fb5819af5d9df4160bc078753f17ca677f39665e1b78682e763",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/e-gregory/actions/runs/27056653782"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.2.0",
      "date": "2026-06-06T07:58:52.000Z",
      "arch": "x86_64",
      "commit": "4db25ce8e26e62795b59c252d1c12d8b7d8c7c75",
      "fileid": "8ba5bf4d51724f84d200c8d43e251fb004dd45c269eb1c63771a58621b0165c0",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/e-gregory/actions/runs/27056653782"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.2.0",
      "date": "2026-06-06T07:55:56.000Z",
      "arch": "emscripten",
      "commit": "4db25ce8e26e62795b59c252d1c12d8b7d8c7c75",
      "fileid": "362a5aec8b5ca7e36665839e552bfc6d6ff11c3854936ef398272d8007bbbc35",
      "status": "success",
      "buildurl": "https://github.com/r-universe/e-gregory/actions/runs/27056653782"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.2.0",
      "date": "2026-06-06T07:55:11.000Z",
      "arch": "x86_64",
      "commit": "4db25ce8e26e62795b59c252d1c12d8b7d8c7c75",
      "fileid": "6a243d46f8c38ae16b9c2670b4ddb62f8dd005fca3b3f3973578528f73f84c7a",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/e-gregory/actions/runs/27056653782"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.2.0",
      "date": "2026-06-06T07:55:19.000Z",
      "arch": "x86_64",
      "commit": "4db25ce8e26e62795b59c252d1c12d8b7d8c7c75",
      "fileid": "1e9897f5f450d0de54052902e999928bf5b8f869c2b50b959c8e7bb9eba89542",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/e-gregory/actions/runs/27056653782"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.2.0",
      "date": "2026-06-06T07:55:18.000Z",
      "arch": "x86_64",
      "commit": "4db25ce8e26e62795b59c252d1c12d8b7d8c7c75",
      "fileid": "b4e6cec6b4a12d1450ebb1bf83f7e5349f6b7bf9f964a3ac3192c224f25d099c",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/e-gregory/actions/runs/27056653782"
    }
  ]
}