{
  "_id": "6ac2137b773a0037682c17b9",
  "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-10-04 08:32:20 UTC",
    "User": "root"
  },
  "_user": "e-gregory",
  "_type": "src",
  "_file": "RMallow_1.2.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/9d84d938a2b36225790586545dff91de5af687b0c5d3909a6429658308f1f6f1",
  "_filesize": 270060,
  "_sha256": "9d84d938a2b36225790586545dff91de5af687b0c5d3909a6429658308f1f6f1",
  "_expires": "2027-01-12T08:51:05.000Z",
  "_created": "2026-10-04T08:32:20.000Z",
  "_published": "2026-10-04T08:51:07.739Z",
  "_jobs": [
    {
      "job": 111397853770,
      "time": 93,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "11298159073"
    },
    {
      "job": 111397853788,
      "time": 126,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "11297658398"
    },
    {
      "job": 111397853893,
      "time": 90,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "11298032952"
    },
    {
      "job": 111397853791,
      "time": 115,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "11297413852"
    },
    {
      "job": 111397853886,
      "time": 102,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "11297739238"
    },
    {
      "job": 111397853833,
      "time": 298,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "11297474145"
    },
    {
      "job": 111397853836,
      "time": 110,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "11298781136"
    },
    {
      "job": 111397853805,
      "time": 362,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "11298074773"
    },
    {
      "job": 111397394551,
      "time": 159,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11298318547"
    },
    {
      "job": 111397853720,
      "time": 88,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11298234049"
    },
    {
      "job": 111397853856,
      "time": 349,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "11298234403"
    },
    {
      "job": 111397853841,
      "time": 107,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "11298174206"
    },
    {
      "job": 111397853879,
      "time": 90,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "11297329182"
    },
    {
      "job": 111397853880,
      "time": 318,
      "config": "windows-release-arm64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "11298715021"
    },
    {
      "job": 111397853807,
      "time": 86,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "11298373375"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/e-gregory/actions/runs/37189097315",
  "_status": "success",
  "_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
  },
  "_distro": "resolute",
  "_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",
    "followers": 0
  },
  "_downloads": {
    "count": 261,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/RMallow"
  },
  "_mentions": 1,
  "_devurl": "https://github.com/erikgregory/rmallow",
  "_searchresults": 12,
  "_topics": [
    "cpp"
  ],
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/RMallow.html"
  ],
  "_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": "16-20260322-1ubuntu1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_score": 2.8573324964312685,
  "_indexed": true,
  "_nocasepkg": "rmallow",
  "_universes": [
    "e-gregory",
    "erikgregory"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.2.0",
      "date": "2026-10-04T08:33:57.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "4db25ce8e26e62795b59c252d1c12d8b7d8c7c75",
      "fileid": "https://r2.ropensci.org/9b4657ea0dd31792d61f1b6d6925860b6f775fdfbe28205b724178e13ad6e3ee",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/e-gregory/actions/runs/37189097315"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.2.0",
      "date": "2026-10-04T08:34:26.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "4db25ce8e26e62795b59c252d1c12d8b7d8c7c75",
      "fileid": "https://r2.ropensci.org/5cc368bce9a9eb9e43e17bb05d05382edc044e6f7143a663e25b555fbc42f9ea",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/e-gregory/actions/runs/37189097315"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.2.0",
      "date": "2026-10-04T08:34:00.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "4db25ce8e26e62795b59c252d1c12d8b7d8c7c75",
      "fileid": "https://r2.ropensci.org/3a4d9fa38e99849352f4fb5ce1d4271f91458dce786819a0cb0567f530a4f67a",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/e-gregory/actions/runs/37189097315"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.2.0",
      "date": "2026-10-04T08:34:16.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "4db25ce8e26e62795b59c252d1c12d8b7d8c7c75",
      "fileid": "https://r2.ropensci.org/0c1fc61f0c76c67a56d449a52747831421590786bd5b3b7cd5f8c4905c3298ae",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/e-gregory/actions/runs/37189097315"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.2.0",
      "date": "2026-10-04T08:46:36.000Z",
      "arch": "aarch64",
      "commit": "4db25ce8e26e62795b59c252d1c12d8b7d8c7c75",
      "fileid": "https://r2.ropensci.org/a50746f409a694fbd272b64725becae43242dd2a9650b109fc9e59da2ffb81bf",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/e-gregory/actions/runs/37189097315"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.2.0",
      "date": "2026-10-04T08:37:48.000Z",
      "arch": "x86_64",
      "commit": "4db25ce8e26e62795b59c252d1c12d8b7d8c7c75",
      "fileid": "https://r2.ropensci.org/3987cd2ad1bfde074b6ebbbd7912fd4095cd1e88b646cba7073faf15f04e7cda",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/e-gregory/actions/runs/37189097315"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.2.0",
      "date": "2026-10-04T08:50:11.000Z",
      "arch": "aarch64",
      "commit": "4db25ce8e26e62795b59c252d1c12d8b7d8c7c75",
      "fileid": "https://r2.ropensci.org/ee06ae96afafd839fb535513db281be1e802746652c0bd602bc08b02d86ebad4",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/e-gregory/actions/runs/37189097315"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.2.0",
      "date": "2026-10-04T08:37:06.000Z",
      "arch": "x86_64",
      "commit": "4db25ce8e26e62795b59c252d1c12d8b7d8c7c75",
      "fileid": "https://r2.ropensci.org/b1da62ae4fde6058e2a2e4b9ac1ff46ed645141500e3d142509f3fb205a190ef",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/e-gregory/actions/runs/37189097315"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.2.0",
      "date": "2026-10-04T08:34:04.000Z",
      "arch": "emscripten",
      "commit": "4db25ce8e26e62795b59c252d1c12d8b7d8c7c75",
      "fileid": "https://r2.ropensci.org/5c538ad1442b00f957fd375d7e7deeefba69d7cf4ec9296ff3713f84ea282598",
      "status": "success",
      "buildurl": "https://github.com/r-universe/e-gregory/actions/runs/37189097315"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.2.0",
      "date": "2026-10-04T08:37:36.000Z",
      "arch": "aarch64",
      "commit": "4db25ce8e26e62795b59c252d1c12d8b7d8c7c75",
      "fileid": "https://r2.ropensci.org/9a86696daadbc47534925b54bfaaa16fea606bfc314fa1f686110e716a1c520f",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/e-gregory/actions/runs/37189097315"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.2.0",
      "date": "2026-10-04T08:33:22.000Z",
      "arch": "x86_64",
      "commit": "4db25ce8e26e62795b59c252d1c12d8b7d8c7c75",
      "fileid": "https://r2.ropensci.org/4eb154bec04dd9f3040629a84739b1d71a99919f900e8283c8afdbbff2859849",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/e-gregory/actions/runs/37189097315"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.2.0",
      "date": "2026-10-04T08:33:39.000Z",
      "arch": "x86_64",
      "commit": "4db25ce8e26e62795b59c252d1c12d8b7d8c7c75",
      "fileid": "https://r2.ropensci.org/effc60e175654642a487ff9c9d576afceb5f649ce7b17768e83d3c4538971423",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/e-gregory/actions/runs/37189097315"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.2.0",
      "date": "2026-10-04T08:36:56.000Z",
      "arch": "aarch64",
      "commit": "4db25ce8e26e62795b59c252d1c12d8b7d8c7c75",
      "fileid": "https://r2.ropensci.org/dc3edd88416bdba1849a82ffc622ada4b4c5bdeef2ada9dcba391596452a2471",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/e-gregory/actions/runs/37189097315"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.2.0",
      "date": "2026-10-04T08:33:23.000Z",
      "arch": "x86_64",
      "commit": "4db25ce8e26e62795b59c252d1c12d8b7d8c7c75",
      "fileid": "https://r2.ropensci.org/6cfd77a6913f252eb28494b591e2196727863ac4da9655494852b0e1d3b98611",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/e-gregory/actions/runs/37189097315"
    }
  ]
}