{
  "_id": "6aca72bdfe5cc25786e895c9",
  "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-10-10 16:12:50 UTC",
    "User": "root"
  },
  "Author": "Jason Bryer [aut, cre] (ORCID: <https://orcid.org/0000-0002-2454-0402>)",
  "Maintainer": "Jason Bryer <jason@bryer.org>",
  "_user": "jbryer",
  "_type": "src",
  "_file": "TriMatch_1.0.2.tar.gz",
  "_fileid": "https://r2.ropensci.org/f2700885d9f98a2e2334cc66968acbef1962e2b247d6a87b53036f85ae6d6560",
  "_filesize": 4279184,
  "_sha256": "f2700885d9f98a2e2334cc66968acbef1962e2b247d6a87b53036f85ae6d6560",
  "_expires": "2027-01-18T17:15:39.000Z",
  "_created": "2026-10-10T16:12:50.000Z",
  "_published": "2026-10-10T17:15:41.357Z",
  "_buildurl": "https://github.com/r-universe/jbryer/actions/runs/38066457283",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 114255889334,
      "time": 147,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "11674244419"
    },
    {
      "job": 114255889352,
      "time": 156,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "11674929841"
    },
    {
      "job": 114255889277,
      "time": 96,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "11676931335"
    },
    {
      "job": 114255889317,
      "time": 123,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "11676119172"
    },
    {
      "job": 114255060034,
      "time": 244,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11674189130"
    },
    {
      "job": 114255889245,
      "time": 98,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11674754911"
    },
    {
      "job": 114255889346,
      "time": 101,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "11675099438"
    },
    {
      "job": 114255889281,
      "time": 128,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "11674844857"
    },
    {
      "job": 114255889338,
      "time": 101,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "11675360257"
    }
  ],
  "_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
  },
  "_distro": "resolute",
  "_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",
    "followers": 342,
    "description": "Assistant Professor and Associate Director, Data Science and Information Systems, School of Professional Studies, CUNY"
  },
  "_downloads": {
    "count": 497,
    "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": 44,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/TriMatch.html"
  ],
  "_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",
    "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.676876431973138,
  "_indexed": true,
  "_nocasepkg": "trimatch",
  "_universes": [
    "jbryer"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.2",
      "date": "2026-10-10T16:15:05.000Z",
      "distro": "resolute",
      "commit": "7bdb7e05a10cccb26de2c0810763be3f08e7b48d",
      "fileid": "https://r2.ropensci.org/f0be42e0bcc5e182016ef13868dd70d76caa9aad2cd41d8473ca86cb763a091c",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/jbryer/actions/runs/38066457283"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.0.2",
      "date": "2026-10-10T16:15:11.000Z",
      "distro": "resolute",
      "commit": "7bdb7e05a10cccb26de2c0810763be3f08e7b48d",
      "fileid": "https://r2.ropensci.org/88835f7fbaf4e2a5a4b572969dfa7ba7207edf64b3717598e9de67583fd5b9b1",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/jbryer/actions/runs/38066457283"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.2",
      "date": "2026-10-10T17:12:43.000Z",
      "commit": "7bdb7e05a10cccb26de2c0810763be3f08e7b48d",
      "fileid": "https://r2.ropensci.org/7c27ce8b74620306c35af24d4ec2cfa0865bfca034df44b99e3f712fcecca533",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/jbryer/actions/runs/38066457283"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.0.2",
      "date": "2026-10-10T17:14:50.000Z",
      "commit": "7bdb7e05a10cccb26de2c0810763be3f08e7b48d",
      "fileid": "https://r2.ropensci.org/6ed756088e1af7276673f3ef0f2e48099fc95c81a47fd182d63cca1767d038c7",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/jbryer/actions/runs/38066457283"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.2",
      "date": "2026-10-10T16:14:48.000Z",
      "commit": "7bdb7e05a10cccb26de2c0810763be3f08e7b48d",
      "fileid": "https://r2.ropensci.org/bc493c7c6c1108fd08e68b1b3bf472cceeec0cb42b69e6f6c855c8e5084dd508",
      "status": "success",
      "buildurl": "https://github.com/r-universe/jbryer/actions/runs/38066457283"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.2",
      "date": "2026-10-10T16:14:05.000Z",
      "commit": "7bdb7e05a10cccb26de2c0810763be3f08e7b48d",
      "fileid": "https://r2.ropensci.org/ed80af98e3b1840e003fc1f5aa9070cbacc6435d9275f70f80f193c6db3f04c9",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/jbryer/actions/runs/38066457283"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.2",
      "date": "2026-10-10T16:14:33.000Z",
      "commit": "7bdb7e05a10cccb26de2c0810763be3f08e7b48d",
      "fileid": "https://r2.ropensci.org/f7f2723e7db5772ad6d40f5581a0f40feaf962cfb77f273e6706a3aaa1175342",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/jbryer/actions/runs/38066457283"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.0.2",
      "date": "2026-10-10T16:14:10.000Z",
      "commit": "7bdb7e05a10cccb26de2c0810763be3f08e7b48d",
      "fileid": "https://r2.ropensci.org/815b99290620395485ba5414bd5239c60d2d7f8e5d98f4dcf11904cbf1e36bbe",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/jbryer/actions/runs/38066457283"
    }
  ]
}