{
  "_id": "6a46d9a16527f6f71f9f65c5",
  "Package": "grmtree",
  "Title": "Recursive Partitioning for Graded Response Models",
  "Version": "0.2.0",
  "Date": "2026-07-01",
  "Authors@R": "c(person(given = \"Olayinka I.\", family = \"Arimoro\", role = c(\"aut\", \"cre\"), email = \"olayinka.arimoro@ucalgary.ca\", comment = c(ORCID = \"0009-0009-9464-589X\")),\nperson(given = \"Tolulope T.\", family = \"Sajobi\", role = \"aut\", email = \"ttsajobi@ucalgary.ca\"),\nperson(given = \"Lisa M.\", family = \"Lix\", role = \"aut\", email = \"Lisa.Lix@umanitoba.ca\"),\nperson(given = \"Matthew T.\", family = \"James\", role = \"ctb\", email = \"mjames@ucalgary.ca\"),\nperson(given = \"Maria\", family = \"Santana\", role = \"ctb\", email = \"mjsantan@ucalgary.ca\"),\nperson(given = \"Emmanuel\", family = \"Ugochukwu\", role = \"ctb\", email = \"favour879@gmail.com\"))",
  "Maintainer": "Olayinka I. Arimoro <olayinka.arimoro@ucalgary.ca>",
  "Description": "Provides methods for recursive partitioning based on the\n'Graded Response Model' ('GRM'), extending the 'MOB' algorithm\nfrom the 'partykit' package. The package allows for fitting\n'GRM' trees that partition the population into homogeneous\nsubgroups based on item response patterns and covariates.\nIncludes specialized plotting functions for visualizing 'GRM'\ntrees with different terminal node displays (threshold regions,\nparameter profiles, and factor score distributions). The\npackage also implements the Longitudinal GRMTree for detecting\nresponse shift in PROMs measured at two time points, embedding\na constrained two-factor longitudinal GRM within recursive\npartitioning, with post-hoc characterization of recalibration\nand reprioritization. For more details on the methods, see\nSamejima (1969) <doi:10.1002/J.2333-8504.1968.TB00153.X>,\nKomboz et al. (2018) <doi:10.1177/0013164416664394> and Arimoro\net al. (2025) <doi:10.1007/s11136-025-04018-6>.",
  "License": "GPL-3",
  "Config/testthat/edition": "3",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.3.3",
  "URL": "https://github.com/Predicare1/grmtree",
  "BugReports": "https://github.com/Predicare1/grmtree/issues",
  "VignetteBuilder": "knitr",
  "LazyData": "true",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-07-02 21:30:41 UTC",
    "User": "root"
  },
  "Author": "Olayinka I. Arimoro [aut, cre] (ORCID:\n<https://orcid.org/0009-0009-9464-589X>), Tolulope T. Sajobi\n[aut], Lisa M. Lix [aut], Matthew T. James [ctb], Maria Santana\n[ctb], Emmanuel Ugochukwu [ctb]",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2026-07-02 07:00:37 UTC",
  "RemoteUrl": "https://github.com/cran/grmtree",
  "RemoteRef": "HEAD",
  "RemoteSha": "b56133138bf2260f3a4a29e715cfc7e64172bcb6",
  "_user": "cran",
  "_type": "src",
  "_file": "grmtree_0.2.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/92b8127b5b61eb51307b75cf39910910a9d20a9733a6098e767e284c27d72531",
  "_filesize": 1315109,
  "_sha256": "92b8127b5b61eb51307b75cf39910910a9d20a9733a6098e767e284c27d72531",
  "_expires": "2026-10-10T21:35:28.000Z",
  "_created": "2026-07-02T21:30:41.000Z",
  "_published": "2026-07-02T21:35:28.982Z",
  "_jobs": [
    {
      "job": 84882580501,
      "time": 226,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8052170689"
    },
    {
      "job": 84882580514,
      "time": 238,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8052174569"
    },
    {
      "job": 84881637931,
      "time": 333,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8052093095"
    },
    {
      "job": 84882580475,
      "time": 176,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8052153875"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/28622556171",
  "_status": "success",
  "_upstream": "https://github.com/cran/grmtree",
  "_commit": {
    "id": "b56133138bf2260f3a4a29e715cfc7e64172bcb6",
    "author": "Olayinka I. Arimoro <olayinka.arimoro@ucalgary.ca>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.2.0\n",
    "time": 1782975637
  },
  "_maintainer": {
    "name": "Olayinka I. Arimoro",
    "email": "olayinka.arimoro@ucalgary.ca"
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "partykit",
      "version": ">= 1.2-9",
      "role": "Depends"
    },
    {
      "package": "mirt",
      "version": ">= 1.36.1",
      "role": "Depends"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "graphics",
      "role": "Imports"
    },
    {
      "package": "grid",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "strucchange",
      "role": "Imports"
    },
    {
      "package": "hlt",
      "role": "Suggests"
    },
    {
      "package": "dplyr",
      "role": "Suggests"
    },
    {
      "package": "magrittr",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "psychotools",
      "role": "Suggests"
    },
    {
      "package": "psychotree",
      "role": "Suggests"
    },
    {
      "package": "psych",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-03",
      "n": 1
    },
    {
      "week": "2026-27",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "0.1.0",
      "date": "2026-01-14"
    },
    {
      "name": "0.2.0",
      "date": "2026-07-02"
    }
  ],
  "_stars": 0,
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "followers": 615,
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 216,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/grmtree"
  },
  "_devurl": "https://github.com/predicare1/grmtree",
  "_searchresults": 0,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/grmtree.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/predicare1/grmtree",
  "_realowner": "predicare1",
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2026-01-14"
    },
    {
      "version": "0.2.0",
      "date": "2026-07-02"
    }
  ],
  "_exports": [
    "discrpar_grmtree",
    "discrpar_longitudinal_grmtree",
    "fscores_grmtree",
    "fscores_longitudinal_grmtree",
    "generate_node_scores_dataset",
    "grmforest",
    "grmforest.control",
    "grmtree",
    "grmtree.control",
    "itempar_grmtree",
    "itempar_longitudinal_grmtree",
    "latentpar_longitudinal_grmtree",
    "longitudinal_grmtree",
    "plot_rs_heatmap",
    "plot_rs_tree",
    "prepare_longitudinal_data",
    "rs_characterize",
    "threshpar_grmtree",
    "threshpar_longitudinal_grmtree",
    "varimp"
  ],
  "_datasets": [
    {
      "name": "grmtree_data",
      "title": "Medical Outcomes Study Social Support Survey (MOS-SS) Test Data",
      "object": "grmtree_data",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "MOS_Listen",
        "MOS_Info",
        "MOS_Advice_Crisis",
        "MOS_Confide",
        "MOS_Advice_Want",
        "MOS_Fears",
        "MOS_Personal",
        "MOS_Understand",
        "sex",
        "age",
        "residency",
        "depressed",
        "bmi",
        "Education",
        "job",
        "smoker",
        "multimorbidity"
      ],
      "rows": 3500,
      "table": true,
      "tojson": true
    },
    {
      "name": "grmtree_long_data",
      "title": "Synthetic Longitudinal MOS-SS Social Support Survey Data",
      "object": "grmtree_long_data",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "MOS_Listen",
        "MOS_Info",
        "MOS_Advice_Crisis",
        "MOS_Confide",
        "MOS_Advice_Want",
        "MOS_Fears",
        "MOS_Personal",
        "MOS_Understand",
        "MOS_Listen_year1",
        "MOS_Info_year1",
        "MOS_Advice_Crisis_year1",
        "MOS_Confide_year1",
        "MOS_Advice_Want_year1",
        "MOS_Fears_year1",
        "MOS_Personal_year1",
        "MOS_Understand_year1",
        "sex",
        "age",
        "residency",
        "job",
        "education",
        "ever_smoker",
        "comorbidity_count",
        "bmi"
      ],
      "rows": 1500,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "discrpar_grmtree",
      "title": "Extract Discrimination Parameters from GRM Tree",
      "topics": [
        "discrpar_grmtree"
      ]
    },
    {
      "page": "discrpar_longitudinal_grmtree",
      "title": "Extract Discrimination Parameters from Longitudinal GRM Tree",
      "topics": [
        "discrpar_longitudinal_grmtree"
      ]
    },
    {
      "page": "fscores_grmtree",
      "title": "Compute Latent Factor Scores for Each Terminal Node in a GRM Tree",
      "topics": [
        "fscores_grmtree"
      ]
    },
    {
      "page": "fscores_longitudinal_grmtree",
      "title": "Compute Latent Factor Scores for Longitudinal GRM Tree",
      "topics": [
        "fscores_longitudinal_grmtree"
      ]
    },
    {
      "page": "generate_node_scores_dataset",
      "title": "Generate Dataset with Node Assignments and Factor Scores",
      "topics": [
        "generate_node_scores_dataset"
      ]
    },
    {
      "page": "grmforest",
      "title": "Fit a Forest of Graded Response Model Trees for Ensemble-Based DIF Detection",
      "topics": [
        "grmforest"
      ]
    },
    {
      "page": "grmforest.control",
      "title": "Control Parameters for GRM Forest",
      "topics": [
        "grmforest.control"
      ]
    },
    {
      "page": "grmtree",
      "title": "Fit a Graded Response Model Tree for Differential Item Functioning Detection",
      "topics": [
        "grmtree"
      ]
    },
    {
      "page": "grmtree_data",
      "title": "Medical Outcomes Study Social Support Survey (MOS-SS) Test Data",
      "topics": [
        "grmtree_data"
      ]
    },
    {
      "page": "grmtree_long_data",
      "title": "Synthetic Longitudinal MOS-SS Social Support Survey Data",
      "topics": [
        "grmtree_long_data"
      ]
    },
    {
      "page": "grmtree.control",
      "title": "Control Parameters for GRM Trees",
      "topics": [
        "grmtree.control"
      ]
    },
    {
      "page": "itempar_grmtree",
      "title": "Extract Item Parameters from GRM Tree",
      "topics": [
        "itempar_grmtree"
      ]
    },
    {
      "page": "itempar_longitudinal_grmtree",
      "title": "Extract Item Parameters from Longitudinal GRM Tree",
      "topics": [
        "itempar_longitudinal_grmtree"
      ]
    },
    {
      "page": "latentpar_longitudinal_grmtree",
      "title": "Extract Latent Trait Parameters from Longitudinal GRM Tree",
      "topics": [
        "latentpar_longitudinal_grmtree"
      ]
    },
    {
      "page": "longitudinal_grmtree",
      "title": "Fit a Longitudinal Graded Response Model Tree for Response Shift Detection",
      "topics": [
        "longitudinal_grmtree"
      ]
    },
    {
      "page": "plot_rs_heatmap",
      "title": "Plot Item-Level Response Shift Heatmap",
      "topics": [
        "plot_rs_heatmap"
      ]
    },
    {
      "page": "plot_rs_tree",
      "title": "Plot Response Shift Summary Tree",
      "topics": [
        "plot_rs_tree"
      ]
    },
    {
      "page": "plot.grmtree",
      "title": "Plot Method for GRM Tree Objects",
      "topics": [
        "plot.grmtree"
      ]
    },
    {
      "page": "plot.longitudinal_grmtree",
      "title": "Plot Method for Longitudinal GRM Tree Objects",
      "topics": [
        "plot.longitudinal_grmtree"
      ]
    },
    {
      "page": "plot.varimp",
      "title": "Plot Variable Importance",
      "topics": [
        "plot.varimp"
      ]
    },
    {
      "page": "prepare_longitudinal_data",
      "title": "Prepare Wide-Format Longitudinal PROM Data",
      "topics": [
        "prepare_longitudinal_data"
      ]
    },
    {
      "page": "print.grmforest",
      "title": "Print Method for GRM Forest",
      "topics": [
        "print.grmforest"
      ]
    },
    {
      "page": "print.grmtree",
      "title": "Print Method for GRM Tree Objects",
      "topics": [
        "print.grmtree"
      ]
    },
    {
      "page": "print.rs_characterization",
      "title": "Print Method for Response Shift Characterization Results",
      "topics": [
        "print.rs_characterization"
      ]
    },
    {
      "page": "rs_characterize",
      "title": "Characterize Response Shift Within Terminal Nodes of a Longitudinal GRM Tree",
      "topics": [
        "rs_characterize"
      ]
    },
    {
      "page": "threshpar_grmtree",
      "title": "Extract Threshold Parameters from GRM Tree",
      "topics": [
        "threshpar_grmtree"
      ]
    },
    {
      "page": "threshpar_longitudinal_grmtree",
      "title": "Extract Threshold Parameters from Longitudinal GRM Tree",
      "topics": [
        "threshpar_longitudinal_grmtree"
      ]
    },
    {
      "page": "varimp",
      "title": "Calculate Variable Importance for GRM Forest",
      "topics": [
        "varimp"
      ]
    }
  ],
  "_readme": "https://github.com/cran/grmtree/raw/HEAD/README.md",
  "_rundeps": [
    "audio",
    "beepr",
    "brio",
    "callr",
    "class",
    "cli",
    "clipr",
    "cluster",
    "codetools",
    "cpp11",
    "crayon",
    "dcurver",
    "Deriv",
    "desc",
    "diffobj",
    "digest",
    "dplyr",
    "e1071",
    "evaluate",
    "farver",
    "Formula",
    "fs",
    "future",
    "future.apply",
    "generics",
    "ggplot2",
    "globals",
    "glue",
    "GPArotation",
    "gridExtra",
    "gtable",
    "inum",
    "isoband",
    "jsonlite",
    "labeling",
    "lattice",
    "libcoin",
    "lifecycle",
    "listenv",
    "magrittr",
    "MASS",
    "Matrix",
    "mgcv",
    "mirai",
    "mirt",
    "mvtnorm",
    "nanonext",
    "nlme",
    "otel",
    "parallelly",
    "partykit",
    "pbapply",
    "permute",
    "pillar",
    "pkgbuild",
    "pkgconfig",
    "pkgload",
    "praise",
    "processx",
    "progressr",
    "proxy",
    "ps",
    "qs2",
    "R.methodsS3",
    "R.oo",
    "R.utils",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "RcppArmadillo",
    "RcppParallel",
    "rlang",
    "rpart",
    "rprojroot",
    "S7",
    "sandwich",
    "scales",
    "sessioninfo",
    "SimDesign",
    "splines2",
    "stringfish",
    "strucchange",
    "survival",
    "testthat",
    "tibble",
    "tidyselect",
    "utf8",
    "vctrs",
    "vegan",
    "viridisLite",
    "waldo",
    "withr",
    "zoo"
  ],
  "_vignettes": [
    {
      "source": "getting-started-with-grmtree-package.Rmd",
      "filename": "getting-started-with-grmtree-package.html",
      "title": "Getting Started with the grmtree Package",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Install and Load required packages",
        "Import and explore the data",
        "IRT Assumptions: Check for unidimensionality assumption",
        "Fit the graded response model (GRM)",
        "Fit Indices for the GRM",
        "Visualization: Visualize the results for all the items",
        "Fit the tree-based graded response model (GRMTree)",
        "Print the tree",
        "Plot the GRMTree",
        "Extract item parameters for terminal nodes",
        "Conclusion"
      ],
      "created": "2026-01-14 18:00:02",
      "modified": "2026-01-14 18:00:02",
      "commits": 1
    },
    {
      "source": "GRMForest-implementation.Rmd",
      "filename": "GRMForest-implementation.html",
      "title": "GRM Forests for Robust DIF Detection",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Install and Load required packages",
        "Import and prepare the data",
        "GRM Forests Implementation",
        "Define the forest control parameters",
        "Grow the GRM Forest",
        "Variable Importance",
        "Compute the variable importance of each covariate",
        "Plot the variable importance of each variable",
        "Conclusion"
      ],
      "created": "2026-01-14 18:00:02",
      "modified": "2026-01-14 18:00:02",
      "commits": 1
    },
    {
      "source": "longitudinal-grmtree.Rmd",
      "filename": "longitudinal-grmtree.html",
      "title": "Response Shift Detection with the Longitudinal GRMTree",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Install and load required packages",
        "Import and explore the data",
        "Prepare the longitudinal data",
        "Phase 1: Fit the Longitudinal GRMTree",
        "Phase 2: Characterize response shift",
        "Accessing the results",
        "Visualizing response shift",
        "Extracting parameters and scores",
        "Interpreting a tree with no split",
        "Conclusion",
        "References"
      ],
      "created": "2026-07-02 07:00:37",
      "modified": "2026-07-02 07:00:37",
      "commits": 1
    }
  ],
  "_score": 3.4771212547196626,
  "_indexed": false,
  "_nocasepkg": "grmtree",
  "_universes": [
    "cran"
  ],
  "_indexurl": "https://predicare1.r-universe.dev/grmtree",
  "_previous": "0.1.0",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-07-02T21:33:03.000Z",
      "distro": "resolute",
      "commit": "b56133138bf2260f3a4a29e715cfc7e64172bcb6",
      "fileid": "https://r2.ropensci.org/f9e03a932780679f165b803e0e983332b8a6aab3acc518a2b87380b60874c44e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/28622556171"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-07-02T21:33:18.000Z",
      "distro": "resolute",
      "commit": "b56133138bf2260f3a4a29e715cfc7e64172bcb6",
      "fileid": "https://r2.ropensci.org/b81194581dcfd0b8f89258ac2a6e2541816a9c085764c3500e671cd459d30c0b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/28622556171"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.0",
      "date": "2026-07-02T21:34:02.000Z",
      "commit": "b56133138bf2260f3a4a29e715cfc7e64172bcb6",
      "fileid": "https://r2.ropensci.org/77a2227b928063b68757dc05db930ffacd90f44e0f5fdf3cc0c1115a9b93a2e5",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/28622556171"
    }
  ]
}