{
  "_id": "6a17decfacfb0bcc41d9d182",
  "Type": "Package",
  "Package": "TriMatch",
  "Title": "Propensity Score Matching of Non-Binary Treatments",
  "Version": "1.0.2",
  "Date": "2026-04-28",
  "Authors@R": "person(\"Jason\", \"Bryer\", , \"jason@bryer.org\", role = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0002-2454-0402\"))",
  "Description": "Propensity score matching for non-binary treatments.",
  "License": "GPL (>= 2)",
  "URL": "https://jbryer.github.io/TriMatch/,\nhttps://github.com/jbryer/TriMatch/",
  "BugReports": "https://github.com/jbryer/TriMatch/issues/",
  "VignetteBuilder": "knitr",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.3.3",
  "Config/pak/sysreqs": "cmake make libicu-dev",
  "Repository": "https://jbryer.r-universe.dev",
  "Date/Publication": "2026-04-28 16:18:49 UTC",
  "RemoteUrl": "https://github.com/jbryer/trimatch",
  "RemoteRef": "HEAD",
  "RemoteSha": "7bdb7e05a10cccb26de2c0810763be3f08e7b48d",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-28 06:16:14 UTC",
    "User": "root"
  },
  "Author": "Jason Bryer [aut, cre] (ORCID: <https://orcid.org/0000-0002-2454-0402>)",
  "Maintainer": "Jason Bryer <jason@bryer.org>",
  "MD5sum": "24a8c104adbce1bde4a7eb918fdc8ff8",
  "_user": "jbryer",
  "_type": "src",
  "_file": "TriMatch_1.0.2.tar.gz",
  "_fileid": "ae64b7e9dc1bd2d865aeadecad56777cdfb29c780b29f390dfbbd42f247d869d",
  "_filesize": 4277010,
  "_sha256": "ae64b7e9dc1bd2d865aeadecad56777cdfb29c780b29f390dfbbd42f247d869d",
  "_created": "2026-05-28T06:16:14.000Z",
  "_published": "2026-05-28T06:21:03.438Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 78234714849,
      "time": 167,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7259005108"
    },
    {
      "job": 78234714858,
      "time": 160,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7259003539"
    },
    {
      "job": 78234714909,
      "time": 120,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "7259013217"
    },
    {
      "job": 78234714873,
      "time": 198,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7259010940"
    },
    {
      "job": 78234094316,
      "time": 316,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7258964412"
    },
    {
      "job": 78234714844,
      "time": 125,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7258995004"
    },
    {
      "job": 78234714848,
      "time": 108,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7258991267"
    },
    {
      "job": 78234714869,
      "time": 106,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "7258990581"
    },
    {
      "job": 78234714919,
      "time": 124,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7258995031"
    }
  ],
  "_buildurl": "https://github.com/r-universe/jbryer/actions/runs/26558024655",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/jbryer/trimatch",
  "_commit": {
    "id": "7bdb7e05a10cccb26de2c0810763be3f08e7b48d",
    "author": "Jason Bryer <jason@bryer.org>",
    "committer": "Jason Bryer <jason@bryer.org>",
    "message": "News update for release.\n",
    "time": 1777393129
  },
  "_maintainer": {
    "name": "Jason Bryer",
    "email": "jason@bryer.org",
    "login": "jbryer",
    "mastodon": "@jbryer@vis.social",
    "orcid": "0000-0002-2454-0402",
    "twitter": "@jbryer",
    "description": "Assistant Professor and Associate Director, Data Science and Information Systems, School of Professional Studies, CUNY",
    "uuid": 623759
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "ggplot2",
      "role": "Depends"
    },
    {
      "package": "R",
      "version": ">= 3.0",
      "role": "Depends"
    },
    {
      "package": "reshape2",
      "role": "Depends"
    },
    {
      "package": "scales",
      "role": "Depends"
    },
    {
      "package": "car",
      "role": "Imports"
    },
    {
      "package": "compiler",
      "role": "Imports"
    },
    {
      "package": "grid",
      "role": "Imports"
    },
    {
      "package": "gridExtra",
      "role": "Imports"
    },
    {
      "package": "plyr",
      "role": "Imports"
    },
    {
      "package": "PSAgraphics",
      "role": "Imports"
    },
    {
      "package": "psych",
      "role": "Imports"
    },
    {
      "package": "randomForest",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "stringr",
      "role": "Imports"
    },
    {
      "package": "bookdown",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "MASS",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "xtable",
      "role": "Suggests"
    }
  ],
  "_owner": "jbryer",
  "_selfowned": true,
  "_usedby": 1,
  "_updates": [
    {
      "week": "2025-50",
      "n": 1
    },
    {
      "week": "2026-18",
      "n": 2
    }
  ],
  "_tags": [],
  "_stars": 12,
  "_contributors": [
    {
      "user": "jbryer",
      "count": 73,
      "uuid": 623759
    },
    {
      "user": "compstats",
      "count": 11,
      "uuid": 3411643
    }
  ],
  "_userbio": {
    "uuid": 623759,
    "type": "user",
    "name": "Jason Bryer",
    "description": "Assistant Professor and Associate Director, Data Science and Information Systems, School of Professional Studies, CUNY"
  },
  "_downloads": {
    "count": 615,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/TriMatch"
  },
  "_mentions": 3,
  "_devurl": "https://github.com/jbryer/trimatch",
  "_pkgdown": "https://jbryer.github.io/TriMatch/",
  "_searchresults": 41,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/TriMatch.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/jbryer/trimatch",
  "_realowner": "jbryer",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.9",
      "date": "2013-07-05"
    },
    {
      "version": "0.9.1",
      "date": "2013-09-20"
    },
    {
      "version": "0.9.4",
      "date": "2015-04-07"
    },
    {
      "version": "0.9.6",
      "date": "2015-12-15"
    },
    {
      "version": "0.9.7",
      "date": "2016-02-26"
    },
    {
      "version": "0.9.9",
      "date": "2017-12-06"
    },
    {
      "version": "1.0.0",
      "date": "2025-04-03"
    },
    {
      "version": "1.0.1",
      "date": "2025-12-11"
    },
    {
      "version": "1.0.2",
      "date": "2026-04-28"
    }
  ],
  "_exports": [
    "balance.plot",
    "boxdiff.plot",
    "covariateBalance",
    "data.frame.to.list",
    "distances.plot",
    "loess3.plot",
    "maximumTreat",
    "multibalance.plot",
    "OneToN",
    "parallel.plot",
    "perpPt",
    "segment1",
    "segment2",
    "trimatch",
    "trips",
    "unmatched"
  ],
  "_datasets": [
    {
      "name": "nmes",
      "title": "Results from the 1987 National Medical Expenditure Study",
      "object": "nmes",
      "file": "nmes.rda",
      "class": [
        "data.frame"
      ],
      "fields": [
        "PIDX",
        "LASTAGE",
        "MALE",
        "RACE3",
        "eversmk",
        "current",
        "former",
        "smoke",
        "AGESMOKE",
        "CIGSSMOK",
        "SMOKENOW",
        "SMOKED",
        "CIGSADAY",
        "AGESTOP",
        "packyears",
        "yearsince",
        "INCALPER",
        "HSQACCWT",
        "TOTALEXP",
        "TOTALSP3",
        "lc5",
        "chd5",
        "beltuse",
        "educate",
        "marital",
        "SREGION",
        "POVSTALB",
        "flag",
        "age"
      ],
      "rows": 20622,
      "table": true,
      "tojson": true
    },
    {
      "name": "tutoring",
      "title": "Results from a study examining the effects of tutoring services on course grades.",
      "object": "tutoring",
      "file": "tutoring.rda",
      "class": [
        "data.frame"
      ],
      "fields": [
        "treat",
        "Course",
        "Grade",
        "Gender",
        "Ethnicity",
        "Military",
        "ESL",
        "EdMother",
        "EdFather",
        "Age",
        "Employment",
        "Income",
        "Transfer",
        "GPA",
        "GradeCode",
        "Level",
        "ID"
      ],
      "rows": 1142,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "TriMatch-package",
      "title": "Propensity Score Analysis for Non-Binary Treatments",
      "topics": [
        "TriMatch-package",
        "TriMatch"
      ]
    },
    {
      "page": "as.data.frame.list",
      "title": "Convert a list of vectors to a data frame.",
      "topics": [
        "as.data.frame.list"
      ]
    },
    {
      "page": "balance.plot",
      "title": "Balance plot for the given covariate.",
      "topics": [
        "balance.plot"
      ]
    },
    {
      "page": "boxdiff.plot",
      "title": "Returns a 'ggplot2' box plot of the differences.",
      "topics": [
        "boxdiff.plot"
      ]
    },
    {
      "page": "covariateBalance",
      "title": "Calculate covariate effect size differences before and after stratification.",
      "topics": [
        "covariateBalance"
      ]
    },
    {
      "page": "data.frame.to.list",
      "title": "Convert a list of vectors to a data frame.",
      "topics": [
        "data.frame.to.list"
      ]
    },
    {
      "page": "distance.euclid",
      "title": "Euclidean distance calculation.",
      "topics": [
        "distance.euclid"
      ]
    },
    {
      "page": "distances.plot",
      "title": "Barplot for the sum of distances.",
      "topics": [
        "distances.plot"
      ]
    },
    {
      "page": "ezANOVA",
      "title": "Compute ANOVA",
      "topics": [
        "ezANOVA"
      ]
    },
    {
      "page": "loess3.plot",
      "title": "Loess plot for matched triplets.",
      "topics": [
        "loess3.plot"
      ]
    },
    {
      "page": "maximumTreat",
      "title": "This method will return at least one treatment from groups one and two within the caliper.",
      "topics": [
        "maximumTreat"
      ]
    },
    {
      "page": "merge.triangle.matches",
      "title": "Merges outcomes with the matched set.",
      "topics": [
        "merge.triangle.matches"
      ]
    },
    {
      "page": "merge.triangle.psa",
      "title": "Merges covariate(s) with the results of [trips()].",
      "topics": [
        "merge.triangle.psa"
      ]
    },
    {
      "page": "multibalance.plot",
      "title": "Multiple covariate balance assessment plot.",
      "topics": [
        "multibalance.plot"
      ]
    },
    {
      "page": "nmes",
      "title": "Results from the 1987 National Medical Expenditure Study",
      "topics": [
        "nmes"
      ]
    },
    {
      "page": "OneToN",
      "title": "This method will use a M1-to-M2-to-1 matching.",
      "topics": [
        "OneToN"
      ]
    },
    {
      "page": "parallel.plot",
      "title": "Parallel coordinate plot for the three groups and dependent variable.",
      "topics": [
        "parallel.plot"
      ]
    },
    {
      "page": "perpPt",
      "title": "Internal method for plotting. Finds a point d distance from x, y",
      "topics": [
        "perpPt"
      ]
    },
    {
      "page": "plot.balance.plots",
      "title": "Prints a grid of balance plots.",
      "topics": [
        "plot.balance.plots"
      ]
    },
    {
      "page": "plot.triangle.matches",
      "title": "Triangle plot drawing matched triplets.",
      "topics": [
        "plot.triangle.matches"
      ]
    },
    {
      "page": "plot.triangle.psa",
      "title": "Triangle plot.",
      "topics": [
        "plot.triangle.psa"
      ]
    },
    {
      "page": "print.balance.plots",
      "title": "Print the results of [balance.plot()] for a data frame of covariates.",
      "topics": [
        "print.balance.plots"
      ]
    },
    {
      "page": "print.triangle.plot",
      "title": "Print method for [plot.triangle.psa()]. The primary purpose is to suppress the \"Removed n rows containing missing values\" warning printed by `ggplot2`.",
      "topics": [
        "print.triangle.plot"
      ]
    },
    {
      "page": "print.trimatch.summary",
      "title": "Prints the results of [summary.triangle.matches()].",
      "topics": [
        "print.trimatch.summary"
      ]
    },
    {
      "page": "segment1",
      "title": "Internal method for plotting. Position along the left side segment",
      "topics": [
        "segment1"
      ]
    },
    {
      "page": "segment2",
      "title": "Internal method for plotting. Position along the right side segment",
      "topics": [
        "segment2"
      ]
    },
    {
      "page": "star",
      "title": "Returns significance level.",
      "topics": [
        "star"
      ]
    },
    {
      "page": "summary.balance.plots",
      "title": "Prints a summary table of the test statistics of each balance plot.",
      "topics": [
        "summary.balance.plots"
      ]
    },
    {
      "page": "summary.triangle.matches",
      "title": "Provides a summary of the matched triplets including analysis of outcome measure if provided.",
      "topics": [
        "summary.triangle.matches"
      ]
    },
    {
      "page": "summary.triangle.psa",
      "title": "Prints the summary results of the logistic regression models.",
      "topics": [
        "summary.triangle.psa"
      ]
    },
    {
      "page": "summary.unmatched",
      "title": "Provides a summary of unmatched subjects.",
      "topics": [
        "summary.unmatched"
      ]
    },
    {
      "page": "trimatch",
      "title": "Creates matched triplets.",
      "topics": [
        "trimatch"
      ]
    },
    {
      "page": "trimatch.apply2",
      "title": "Recursive function to find possible matched triplets using the apply functions.",
      "topics": [
        "trimatch.apply2"
      ]
    },
    {
      "page": "trips",
      "title": "Estimates propensity scores for three groups",
      "topics": [
        "trips"
      ]
    },
    {
      "page": "tutoring",
      "title": "Results from a study examining the effects of tutoring services on course grades.",
      "topics": [
        "tutoring"
      ]
    },
    {
      "page": "unmatched",
      "title": "Returns rows from [trips()] that were not matched by [trimatch()].",
      "topics": [
        "unmatched"
      ]
    }
  ],
  "_readme": "https://github.com/jbryer/trimatch/raw/HEAD/README.md",
  "_rundeps": [
    "abind",
    "backports",
    "boot",
    "broom",
    "car",
    "carData",
    "cli",
    "colorspace",
    "cowplot",
    "cpp11",
    "Deriv",
    "doBy",
    "dplyr",
    "farver",
    "forecast",
    "Formula",
    "fracdiff",
    "generics",
    "ggplot2",
    "glue",
    "GPArotation",
    "gridExtra",
    "gtable",
    "isoband",
    "labeling",
    "lattice",
    "lifecycle",
    "lme4",
    "lmtest",
    "magrittr",
    "MASS",
    "Matrix",
    "MatrixModels",
    "mgcv",
    "microbenchmark",
    "minqa",
    "mnormt",
    "modelr",
    "nlme",
    "nloptr",
    "nnet",
    "numDeriv",
    "pbkrtest",
    "pillar",
    "pkgconfig",
    "plyr",
    "PSAgraphics",
    "psych",
    "purrr",
    "quantreg",
    "R6",
    "randomForest",
    "rbibutils",
    "RColorBrewer",
    "Rcpp",
    "RcppArmadillo",
    "RcppEigen",
    "Rdpack",
    "reformulas",
    "reshape2",
    "rlang",
    "rpart",
    "S7",
    "scales",
    "SparseM",
    "stringi",
    "stringr",
    "survival",
    "tibble",
    "tidyr",
    "tidyselect",
    "timeDate",
    "urca",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr",
    "zoo"
  ],
  "_vignettes": [
    {
      "source": "TriMatch.Rmd",
      "filename": "TriMatch.html",
      "title": "Propensity Score Matching with Three Groups",
      "author": "Jason Bryer",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "The TriMatch Algorithm",
        "Effects of Tutoring on Course Grades",
        "Examining Unmatched Students",
        "Checking Balance",
        "Phase II: Estimating Effects of Tutoring on Course Grades",
        "Effects of Smoking on Medical Expenditures",
        "Phase II: Estimating Effects of Smoking on Medical Expenditures",
        "References"
      ],
      "created": "2025-04-03 15:02:35",
      "modified": "2026-04-28 16:17:09",
      "commits": 5
    }
  ],
  "_score": 6.646207612206686,
  "_indexed": true,
  "_nocasepkg": "trimatch",
  "_universes": [
    "jbryer"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.2",
      "date": "2026-05-28T06:18:49.000Z",
      "distro": "noble",
      "commit": "7bdb7e05a10cccb26de2c0810763be3f08e7b48d",
      "fileid": "6953cd273f9627252f4e95e1012048d73255bad2668e6dff72ea31ea9c1b6f29",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/jbryer/actions/runs/26558024655"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.2",
      "date": "2026-05-28T06:18:44.000Z",
      "distro": "noble",
      "commit": "7bdb7e05a10cccb26de2c0810763be3f08e7b48d",
      "fileid": "666a859a6d98bc05f9680c199774574b9a05b31365dc9dfbfbde96c03698f63b",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/jbryer/actions/runs/26558024655"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.2",
      "date": "2026-05-28T06:19:32.000Z",
      "commit": "7bdb7e05a10cccb26de2c0810763be3f08e7b48d",
      "fileid": "e4ecd7e0fbaabfbb5a8eb1c9947e9d1991dfdbe3a6d63fc5a96d3ea5edaad990",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/jbryer/actions/runs/26558024655"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.0.2",
      "date": "2026-05-28T06:19:17.000Z",
      "commit": "7bdb7e05a10cccb26de2c0810763be3f08e7b48d",
      "fileid": "1a9194db25d0c39a9abbc16c72db2d52b4c351fd4b01d585ee92c538357f7e7a",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/jbryer/actions/runs/26558024655"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.2",
      "date": "2026-05-28T06:18:41.000Z",
      "commit": "7bdb7e05a10cccb26de2c0810763be3f08e7b48d",
      "fileid": "229f9fb3e34c89bd5545c181b6727613edb760ddb60524c93581858b7e4570fb",
      "status": "success",
      "buildurl": "https://github.com/r-universe/jbryer/actions/runs/26558024655"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.2",
      "date": "2026-05-28T06:17:40.000Z",
      "commit": "7bdb7e05a10cccb26de2c0810763be3f08e7b48d",
      "fileid": "ed7ff6a6ff753a0f34b8e16d6a534d3267e7e02e9be78664b057ac55659f5408",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/jbryer/actions/runs/26558024655"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.2",
      "date": "2026-05-28T06:17:39.000Z",
      "commit": "7bdb7e05a10cccb26de2c0810763be3f08e7b48d",
      "fileid": "3f8731696eca8091fda45519fc4dc69ac305134a49aa5e288679f46246131ce2",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/jbryer/actions/runs/26558024655"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.0.2",
      "date": "2026-05-28T06:17:51.000Z",
      "commit": "7bdb7e05a10cccb26de2c0810763be3f08e7b48d",
      "fileid": "b2e35c55ea50f604d9f85e20ca8b25ab1109b752a41d8c6552a2b31847029cdd",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/jbryer/actions/runs/26558024655"
    }
  ]
}