{
  "_id": "6a23cc33530b9bc726be1b8d",
  "Package": "rpm",
  "Type": "Package",
  "Title": "Modeling of Revealed Preferences Matchings",
  "Version": "0.7-4",
  "Date": "2025-10-22",
  "Authors@R": "c(\nperson(\"Mark S.\", \"Handcock\", role=c(\"aut\",\"cre\"), email=\"handcock@stat.ucla.edu\", comment=c(ORCID=\"0000-0002-9985-2785\")),\nperson(\"Ryan M. \", \"Admiraal\", role=c(\"ctb\"), email=\"ryan.admiraal@vuw.ac.nz\"),\nperson(\"Fiona C.\", \"Yeung\", role=c(\"ctb\"), email=\"fiona.c.yeung@gmail.com\"),\nperson(\"Heide M.\", \"Jackson\", role=c(\"ctb\"), email=\"heidej@umd.edu\"),\nperson(\"Michael S.\", \"Rendall\", role=c(\"ctb\"), email=\"mrendall@umd.edu\"),\nperson(\"Shuchi\", \"Goyal\", role=c(\"ctb\"), email=\"sgoyal25@ucla.edu\"))",
  "Description": "Statistical estimation of revealed preference models from\ndata collected on bipartite matchings. The models are for\nmatchings within a bipartite population where individuals have\nutility for people based on known and unknown characteristics.\nPeople can form a partnership or remain unpartnered. The model\nrepresents both the availability of potential partners of\ndifferent types and preferences of individuals for such people.\nThe software estimates preference parameters based on sample\nsurvey data on partnerships and population composition. The\nsimulation of matchings and goodness-of-fit are considered. See\nGoyal, Handcock, Jackson, Rendall and Yeung (2022)\n<doi:10.1093/jrsssa/qnad031>.",
  "License": "GPL-3 + file LICENSE",
  "License_is_FOSS": "yes",
  "License_restricts_use": "no",
  "URL": "https://github.com/handcock/rpm",
  "BugReports": "https://github.com/handcock/rpm/issues",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.3.3",
  "Config/pak/sysreqs": "cmake",
  "Repository": "https://handcock.r-universe.dev",
  "Date/Publication": "2025-10-23 01:44:01 UTC",
  "RemoteUrl": "https://github.com/handcock/rpm",
  "RemoteRef": "HEAD",
  "RemoteSha": "0786604aebeb5609baca9c05dcf9e49ffb14e3a7",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-06-06 07:14:11 UTC",
    "User": "root"
  },
  "Author": "Mark S. Handcock [aut, cre] (ORCID:\n<https://orcid.org/0000-0002-9985-2785>),\nRyan M. Admiraal [ctb],\nFiona C. Yeung [ctb],\nHeide M. Jackson [ctb],\nMichael S. Rendall [ctb],\nShuchi Goyal [ctb]",
  "Maintainer": "Mark S. Handcock <handcock@stat.ucla.edu>",
  "MD5sum": "de43a61d21975a9a8b77dee36c99df37",
  "_user": "handcock",
  "_type": "src",
  "_file": "rpm_0.7-4.tar.gz",
  "_fileid": "6932a3e129b930f27e0f24e1bb9223cd58d56d7cee8f1f219d6d09f792d8f1a1",
  "_filesize": 389797,
  "_sha256": "6932a3e129b930f27e0f24e1bb9223cd58d56d7cee8f1f219d6d09f792d8f1a1",
  "_created": "2026-06-06T07:14:11.000Z",
  "_published": "2026-06-06T07:28:51.570Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79860325763,
      "time": 257,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7452363492"
    },
    {
      "job": 79860325772,
      "time": 258,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7452363450"
    },
    {
      "job": 79860325775,
      "time": 296,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7452368397"
    },
    {
      "job": 79860325789,
      "time": 260,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7452363434"
    },
    {
      "job": 79860325779,
      "time": 245,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "7452357660"
    },
    {
      "job": 79860325786,
      "time": 611,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "7452400850"
    },
    {
      "job": 79860325777,
      "time": 221,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7452356206"
    },
    {
      "job": 79860325787,
      "time": 749,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7452415822"
    },
    {
      "job": 79860054610,
      "time": 268,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7452328935"
    },
    {
      "job": 79860325771,
      "time": 206,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7452356866"
    },
    {
      "job": 79860325778,
      "time": 313,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7452370279"
    },
    {
      "job": 79860325770,
      "time": 268,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "7452364370"
    },
    {
      "job": 79860325784,
      "time": 312,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7452370286"
    }
  ],
  "_buildurl": "https://github.com/r-universe/handcock/actions/runs/27055844196",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/handcock/rpm",
  "_commit": {
    "id": "0786604aebeb5609baca9c05dcf9e49ffb14e3a7",
    "author": "handcock <handcock@ucla.edu>",
    "committer": "handcock <handcock@ucla.edu>",
    "message": "Fix Rcpp deprecated declarations\n\nCorrect depreciated Rcpp declarations involving Armadillo's `index_max()` to avoid deprecated `.max(uword&)`.\n\nThis was brought to my attention by an email from Kurt Hornik on September 23rd, 2025.\n\nAlso fixed minor documentation issues\n",
    "time": 1761183841
  },
  "_maintainer": {
    "name": "Mark S. Handcock",
    "email": "handcock@stat.ucla.edu",
    "login": "handcock",
    "description": "Distinguished Professor of Statistics, UCLA",
    "uuid": 2207202,
    "orcid": "0000-0002-9985-2785"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.0.0",
      "role": "Depends"
    },
    {
      "package": "abind",
      "role": "Depends"
    },
    {
      "package": "future",
      "role": "Depends"
    },
    {
      "package": "doRNG",
      "role": "Depends"
    },
    {
      "package": "methods",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "RcppArmadillo",
      "role": "LinkingTo"
    },
    {
      "package": "Rcpp",
      "role": "Imports"
    },
    {
      "package": "nloptr",
      "role": "Imports"
    },
    {
      "package": "matrixStats",
      "role": "Imports"
    },
    {
      "package": "MASS",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "coda",
      "role": "Imports"
    },
    {
      "package": "doFuture",
      "role": "Imports"
    },
    {
      "package": "foreach",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    }
  ],
  "_owner": "handcock",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-43",
      "n": 1
    }
  ],
  "_tags": [],
  "_topics": [
    "modeling",
    "statistics",
    "openblas",
    "cpp"
  ],
  "_stars": 2,
  "_contributors": [
    {
      "user": "handcock",
      "count": 34,
      "uuid": 2207202
    },
    {
      "user": "eelawson",
      "count": 13,
      "uuid": 96323635
    }
  ],
  "_userbio": {
    "uuid": 2207202,
    "type": "user",
    "name": "Mark S. Handcock",
    "description": "Distinguished Professor of Statistics, UCLA"
  },
  "_downloads": {
    "count": 147,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/rpm"
  },
  "_devurl": "https://github.com/handcock/rpm",
  "_searchresults": 35,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/readme.html",
    "extra/readme.md",
    "extra/rpm.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/handcock/rpm",
  "_realowner": "handcock",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.7",
      "date": "2023-04-21"
    },
    {
      "version": "0.7-1",
      "date": "2023-04-22"
    },
    {
      "version": "0.7-3",
      "date": "2024-04-18"
    },
    {
      "version": "0.7-4",
      "date": "2025-10-23"
    }
  ],
  "_exports": [
    "anova_rpmlist",
    "augpmf",
    "augpmfWM",
    "auxGamma",
    "checkstable",
    "control.rpm",
    "eqcond",
    "Gale_Shapley",
    "gloglik",
    "gof",
    "GS_NTU",
    "GSi_NTU",
    "GSi_NTU_O",
    "hloglik",
    "jeqcond",
    "list_rhs.formula",
    "loglik",
    "logLikNull",
    "logpmfest",
    "message_print",
    "microsimulate",
    "plot.gofrpm",
    "probcounts",
    "PSeqcond",
    "PSgeqcond",
    "qloglik",
    "rowwise_imax_idx",
    "rowwise_max_idx",
    "rpm",
    "rpm_MLPLE",
    "rpm.model.functions",
    "rpm.model.matrix",
    "rpmpopulationpmf",
    "stablearma",
    "summary_rpm",
    "ult",
    "ult<-"
  ],
  "_datasets": [
    {
      "name": "fauxmatching",
      "title": "Faux Data on Heterosexual Matching",
      "object": "fauxmatching",
      "file": "fauxmatching.RData",
      "class": [
        "list"
      ],
      "fields": [],
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "rpm-package",
      "title": "Modeling of Revealed Preferences Matchings",
      "topics": [
        "rpm-package"
      ]
    },
    {
      "page": "anova.rpm",
      "title": "ANOVA for rpm Fits",
      "topics": [
        "anova.rpm",
        "anova_rpmlist"
      ]
    },
    {
      "page": "control.rpm",
      "title": "Auxiliary for Controlling rpm",
      "topics": [
        "control.rpm"
      ]
    },
    {
      "page": "fauxmatching",
      "title": "Faux Data on Heterosexual Matching",
      "topics": [
        "fauxmatching"
      ]
    },
    {
      "page": "Gale_Shapley",
      "title": "This is the version of Gale-Shapley stable matching algorithm (translated from the Matlab code in Menzel (2015)).",
      "topics": [
        "Gale_Shapley"
      ]
    },
    {
      "page": "gof",
      "title": "Calculate goodness-of-fit statistics for Revealed Preference Matchings Model based on observed data",
      "topics": [
        "gof",
        "gof.default",
        "gof.rpm",
        "plot.gofrpm"
      ]
    },
    {
      "page": "list_rhs.formula",
      "title": "Returns a list containing the terms in a given formula",
      "topics": [
        "list_rhs.formula"
      ]
    },
    {
      "page": "logLik.rpm",
      "title": "A 'logLik' method for [`rpm`] fits.",
      "topics": [
        "logLik.rpm"
      ]
    },
    {
      "page": "logLikNull",
      "title": "Calculate the null model likelihood",
      "topics": [
        "logLikNull",
        "logLikNull.rpm"
      ]
    },
    {
      "page": "message_print",
      "title": "[`print`] objects to the [`message`] output.",
      "topics": [
        "message_print"
      ]
    },
    {
      "page": "microsimulate",
      "title": "Micro simulate a population from a Revealed Preference Matchings Model",
      "topics": [
        "microsimulate"
      ]
    },
    {
      "page": "rowwise_imax_idx",
      "title": "Row-wise argmax (0-based column indices)",
      "topics": [
        "rowwise_imax_idx"
      ]
    },
    {
      "page": "rowwise_max_idx",
      "title": "Row-wise argmax (0-based column indices)",
      "topics": [
        "rowwise_max_idx"
      ]
    },
    {
      "page": "rpm",
      "title": "Fit a Revealed Preference Matchings Model",
      "topics": [
        "rpm",
        "rpm.object"
      ]
    },
    {
      "page": "rpm_MLPLE",
      "title": "Fit a Revealed Preference Matchings Model",
      "topics": [
        "rpm_MLPLE"
      ]
    },
    {
      "page": "rpm-terms",
      "title": "Terms used in a Revealed Preference Matchings Model",
      "topics": [
        "absdiff",
        "diff",
        "match",
        "mix",
        "MtoW_diff",
        "M_atleast",
        "M_atmost",
        "M_cov",
        "M_factor",
        "M_greaterthan",
        "rpm-terms",
        "rpm.terms",
        "terms-rpm",
        "terms.rpm",
        "WtoM_diff",
        "W_atleast",
        "W_atmost",
        "W_cov",
        "W_factor",
        "W_greaterthan"
      ]
    },
    {
      "page": "rpm.model.functions",
      "title": "Creates a model function list for the continuous terms in a Revealed Preference Matchings Model",
      "topics": [
        "rpm.model.functions"
      ]
    },
    {
      "page": "rpm.model.matrix",
      "title": "Creates a model matrix to estimate the parameters of a Revealed Preference Matchings Model",
      "topics": [
        "rpm.model.matrix"
      ]
    },
    {
      "page": "rpmpopulationpmf",
      "title": "Compute the population distribution of pairs and singles from a Revealed Preference Matchings Model",
      "topics": [
        "rpmpopulationpmf"
      ]
    },
    {
      "page": "simulate.rpm",
      "title": "Simulate a sample of pairs and singles from a Revealed Preference Matchings Model",
      "topics": [
        "simulate.rpm"
      ]
    },
    {
      "page": "summary_rpm",
      "title": "Summarize Revealed Preference Matchings data via a Model Specification",
      "topics": [
        "print.summary_rpm",
        "show.summary_rpm",
        "summary_rpm"
      ]
    },
    {
      "page": "summary.rpm",
      "title": "Summarizing rpm Model Fits",
      "topics": [
        "print.summary.rpm",
        "summary.rpm"
      ]
    },
    {
      "page": "ult",
      "title": "Extract or replace the *ult*imate (last) element of a vector or a list, or an element counting from the end.",
      "topics": [
        "ult",
        "ult<-"
      ]
    }
  ],
  "_readme": "https://github.com/handcock/rpm/raw/HEAD/README.md",
  "_rundeps": [
    "abind",
    "cli",
    "coda",
    "codetools",
    "cpp11",
    "digest",
    "doFuture",
    "doRNG",
    "dplyr",
    "farver",
    "foreach",
    "future",
    "future.apply",
    "generics",
    "ggplot2",
    "globals",
    "glue",
    "gtable",
    "isoband",
    "iterators",
    "labeling",
    "lattice",
    "lifecycle",
    "listenv",
    "magrittr",
    "MASS",
    "matrixStats",
    "nloptr",
    "parallelly",
    "pillar",
    "pkgconfig",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "RcppArmadillo",
    "rlang",
    "rngtools",
    "S7",
    "scales",
    "tibble",
    "tidyselect",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_sysdeps": [
    {
      "shlib": "liblapack",
      "package": "libopenblas0-pthread",
      "source": "openblas",
      "version": "0.3.26+ds-1ubuntu0.1",
      "name": "openblas",
      "homepage": "https://www.openblas.net/",
      "description": "Optimized BLAS (linear algebra) library (shared lib, pthread)"
    },
    {
      "shlib": "libblas",
      "package": "libopenblas0-pthread",
      "source": "openblas",
      "version": "0.3.26+ds-1ubuntu0.1",
      "name": "openblas",
      "homepage": "https://www.openblas.net/",
      "description": "Optimized BLAS (linear algebra) library (shared lib, pthread)"
    },
    {
      "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": 3.5440680443502757,
  "_indexed": true,
  "_nocasepkg": "rpm",
  "_universes": [
    "handcock"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.7-4",
      "date": "2026-06-06T07:17:51.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "0786604aebeb5609baca9c05dcf9e49ffb14e3a7",
      "fileid": "a95cd9950769aadc4f16b841168fcc1bfa395cc5636807b86d31f4cecfc33edb",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/handcock/actions/runs/27055844196"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.7-4",
      "date": "2026-06-06T07:17:52.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "0786604aebeb5609baca9c05dcf9e49ffb14e3a7",
      "fileid": "0da59954809fa0abe2d67c05d399edffc55a6b5436f05181774dc23ea87a5ece",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/handcock/actions/runs/27055844196"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.7-4",
      "date": "2026-06-06T07:18:29.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "0786604aebeb5609baca9c05dcf9e49ffb14e3a7",
      "fileid": "41e19b103a2ee0a99eb417b1e0050ab87a7a3b69deb7331357569eb735f8bd0d",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/handcock/actions/runs/27055844196"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.7-4",
      "date": "2026-06-06T07:17:52.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "0786604aebeb5609baca9c05dcf9e49ffb14e3a7",
      "fileid": "f6c069dfececde45f83e1c599d69357f74ce2857c3ec1f654a1f3f907088d361",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/handcock/actions/runs/27055844196"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.7-4",
      "date": "2026-06-06T07:18:04.000Z",
      "arch": "aarch64",
      "commit": "0786604aebeb5609baca9c05dcf9e49ffb14e3a7",
      "fileid": "ba85708e1da6e0b209865cc8da0e9d6b6d18ca74749ee82c94a34d37929a15da",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/handcock/actions/runs/27055844196"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.7-4",
      "date": "2026-06-06T07:19:35.000Z",
      "arch": "x86_64",
      "commit": "0786604aebeb5609baca9c05dcf9e49ffb14e3a7",
      "fileid": "1ba631e791434404f65a574056ffcfe15de46b6cca2857c39e5e9b218dfb4a7d",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/handcock/actions/runs/27055844196"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.7-4",
      "date": "2026-06-06T07:17:39.000Z",
      "arch": "aarch64",
      "commit": "0786604aebeb5609baca9c05dcf9e49ffb14e3a7",
      "fileid": "3d36477e8516953ed3cdea8c2b60a3f32cfb738f183e5e33f0158ca0cbb40478",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/handcock/actions/runs/27055844196"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.7-4",
      "date": "2026-06-06T07:21:18.000Z",
      "arch": "x86_64",
      "commit": "0786604aebeb5609baca9c05dcf9e49ffb14e3a7",
      "fileid": "a4e1a229c592220658d2a86037b2f5b1948eabc0c68d4061e7c5b0fb3551e3e3",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/handcock/actions/runs/27055844196"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.7-4",
      "date": "2026-06-06T07:17:52.000Z",
      "arch": "emscripten",
      "commit": "0786604aebeb5609baca9c05dcf9e49ffb14e3a7",
      "fileid": "699ebfcaab5cc54a5f000f41effefa9ebb59f0bf0c1ffca0431f44644e59ce19",
      "status": "success",
      "buildurl": "https://github.com/r-universe/handcock/actions/runs/27055844196"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.7-4",
      "date": "2026-06-06T07:17:06.000Z",
      "arch": "x86_64",
      "commit": "0786604aebeb5609baca9c05dcf9e49ffb14e3a7",
      "fileid": "0db667b82e2e89b890eb6e6160aa1050b043fdb937dc0619b813be702869663a",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/handcock/actions/runs/27055844196"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.7-4",
      "date": "2026-06-06T07:16:54.000Z",
      "arch": "x86_64",
      "commit": "0786604aebeb5609baca9c05dcf9e49ffb14e3a7",
      "fileid": "73ff581087b5c0d25983441f7b0e2b5af2aec7e338dac6827b5fd4c89b54b82c",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/handcock/actions/runs/27055844196"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.7-4",
      "date": "2026-06-06T07:16:58.000Z",
      "arch": "x86_64",
      "commit": "0786604aebeb5609baca9c05dcf9e49ffb14e3a7",
      "fileid": "92ebd31d061391c97f00149accf4cf4696115ecb48f07b928c602f205606f318",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/handcock/actions/runs/27055844196"
    }
  ]
}