{
  "_id": "6ad99d8c021a938ed758e2d8",
  "Package": "CIMEHR",
  "Type": "Package",
  "Title": "Longitudinal EHR Analysis with Informative Visits and Recording",
  "Version": "0.2.0",
  "Authors@R": "c(\nperson(given = \"Cheng-Han\", family = \"Yang\",\nemail = \"chenghanyang728@gmail.com\",\nrole = c(\"aut\",\"cre\"),\ncomment = c(ORCID = \"0000-0002-4161-3140\")),\nperson(given = \"Yiren\", family = \"Hou\",\nemail = \"yiren.hou@yale.edu\",\nrole = \"aut\",\ncomment = c(ORCID = \"0009-0005-0422-4268\"))\n)",
  "Description": "Longitudinal outcomes in electronic health records (EHR)\nare seen only when a patient visits and the outcome is recorded\nat that visit, and both processes can depend on the patient's\nlatent health. The package fits the CIMEHR estimator for this\nsetting, a three-stage procedure linked by a shared latent\nfactor: a frailty partial likelihood for the visiting process,\na pairwise likelihood for the recording (observation) process,\nand an estimating equation for the outcome. Spline and\nhigher-order Laplace variants are included, together with\ncomparison methods (summary statistics, linear mixed models,\nLin-Ying, Liang, pairwise likelihood, joint models, inverse\nintensity rate ratio weighting and balancing, multiple\nimputation, linear increments and EHRJoint) behind one common\ninterface. Methods are described in Yang, Shi, and Mukherjee\n(2026) <doi:10.48550/arXiv.2602.15374>.",
  "License": "MIT + file LICENSE",
  "Copyright": "See file inst/COPYRIGHTS.",
  "URL": "https://github.com/ysph-dsde/CIMEHR",
  "BugReports": "https://github.com/ysph-dsde/CIMEHR/issues",
  "Encoding": "UTF-8",
  "VignetteBuilder": "knitr",
  "LazyData": "true",
  "NeedsCompilation": "yes",
  "Collate": "'RcppExports.R' 'cimehr_shared.R' 'cimehr.R' 'cimehr_hl.R'\n'cimehr_hl_moments.R' 'cimehr_identification.R'\n'cimehr_numerics.R' 'cimehr_prediction.R' 'cimehr_spline.R'\n'cimehr_spline_hl.R' 'cimehr_zero.R' 'curve_bootstrap.R'\n'curve_refit.R' 'dispatch.R' 'ehrjoint.R'\n'ehrjoint_prediction.R' 'iirr_balancing_marker.R'\n'iirr_balancing_visit.R' 'iirr_weighting_marker.R'\n'iirr_weighting_visit.R' 'input_data.R' 'jmvl_g_marker.R'\n'jmvl_g_visit.R' 'li_iirr.R' 'li_liang.R' 'li_lmm.R'\n'li_reconstruction.R' 'liang_completed_followup.R'\n'liang_marker.R' 'liang_trajectory.R' 'liang_visit.R'\n'lin_ying_marker.R' 'lin_ying_visit.R' 'lmm.R' 'meanfit.R'\n'mi_iirr.R' 'mi_liang.R' 'mi_lmm.R' 'native_adapter.R'\n'oa_lmm.R' 'outcome_summary.R' 'pairlik.R' 'registry.R'\n'stages.R' 'stages_spline.R' 'summary_max.R' 'summary_mean.R'\n'summary_median.R' 'summary_min.R' 'trajectory_api.R'\n'va_lmm.R'",
  "Config/roxygen2/version": "8.1.1",
  "Repository": "https://ysph-dsde.r-universe.dev",
  "Date/Publication": "2026-10-22 01:29:32 UTC",
  "RemoteUrl": "https://github.com/ysph-dsde/cimehr",
  "RemoteRef": "HEAD",
  "RemoteSha": "94144caa6c96988d4b94d8a84930e4c99f43f459",
  "Packaged": {
    "Date": "2026-10-22 05:13:28 UTC",
    "User": "root"
  },
  "Author": "Cheng-Han Yang [aut, cre] (ORCID:\n<https://orcid.org/0000-0002-4161-3140>),\nYiren Hou [aut] (ORCID: <https://orcid.org/0009-0005-0422-4268>)",
  "Maintainer": "Cheng-Han Yang <chenghanyang728@gmail.com>",
  "_user": "ysph-dsde",
  "_type": "src",
  "_file": "CIMEHR_0.2.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/7dc8817927fca9ceba0d4ca06202aa7c452bbbe6a82960d63fecd9a14e727a95",
  "_filesize": 1601860,
  "_sha256": "7dc8817927fca9ceba0d4ca06202aa7c452bbbe6a82960d63fecd9a14e727a95",
  "_expires": "2027-01-30T05:22:19.000Z",
  "_created": "2026-10-22T05:13:28.000Z",
  "_published": "2026-10-22T05:22:20.801Z",
  "_upstream": "https://github.com/ysph-dsde/cimehr",
  "_status": "success",
  "_maintainer": {
    "name": "Cheng-Han Yang",
    "email": "chenghanyang728@gmail.com",
    "login": "cyang728",
    "description": "I am an Associate Research Sciesntist in Biostatistics program at Yale university. My research interests lie in EHR data analysis and survival analysis. ",
    "uuid": 97812515,
    "orcid": "0000-0002-4161-3140"
  },
  "_jobs": [
    {
      "job": 119652767673,
      "time": 196,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12404000766"
    },
    {
      "job": 119652767596,
      "time": 221,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12403232446"
    },
    {
      "job": 119652767635,
      "time": 200,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12403242407"
    },
    {
      "job": 119652767632,
      "time": 241,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12403756454"
    },
    {
      "job": 119652767615,
      "time": 176,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12404020755"
    },
    {
      "job": 119652767658,
      "time": 430,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12403143840"
    },
    {
      "job": 119652767675,
      "time": 217,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12403393456"
    },
    {
      "job": 119652767643,
      "time": 415,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12404210341"
    },
    {
      "job": 119650344397,
      "time": 480,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12402499360"
    },
    {
      "job": 119652767684,
      "time": 144,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "12403247317"
    },
    {
      "job": 119652767798,
      "time": 316,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12403771644"
    },
    {
      "job": 119652767811,
      "time": 328,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12404105310"
    },
    {
      "job": 119652767657,
      "time": 279,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12402709653"
    },
    {
      "job": 119652767644,
      "time": 349,
      "config": "windows-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12404200171"
    },
    {
      "job": 119652767706,
      "time": 215,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12403342097"
    }
  ],
  "_buildurl": "https://github.com/r-universe/ysph-dsde/actions/runs/39726111916",
  "_commit": {
    "id": "94144caa6c96988d4b94d8a84930e4c99f43f459",
    "author": "yirenhou2001 <hou.yiren@gmail.com>",
    "committer": "yirenhou2001 <hou.yiren@gmail.com>",
    "message": "Edits to address notes from CRAN checks\n",
    "time": 1792632572
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "nlme",
      "role": "Imports"
    },
    {
      "package": "parallel",
      "role": "Imports"
    },
    {
      "package": "Rcpp",
      "role": "Imports"
    },
    {
      "package": "splines",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "tools",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "version": ">= 3.4.0",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "mice",
      "role": "Suggests"
    },
    {
      "package": "pan",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    }
  ],
  "_owner": "ysph-dsde",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-10",
      "n": 9
    },
    {
      "week": "2026-13",
      "n": 5
    },
    {
      "week": "2026-17",
      "n": 5
    },
    {
      "week": "2026-18",
      "n": 14
    },
    {
      "week": "2026-19",
      "n": 5
    },
    {
      "week": "2026-21",
      "n": 13
    },
    {
      "week": "2026-22",
      "n": 2
    },
    {
      "week": "2026-23",
      "n": 1
    },
    {
      "week": "2026-43",
      "n": 4
    }
  ],
  "_tags": [],
  "_stars": 1,
  "_contributors": [
    {
      "user": "yirenhou2001",
      "count": 58,
      "uuid": 214887223
    }
  ],
  "_userbio": {
    "uuid": 184402761,
    "type": "organization",
    "name": "YSPH Data Science and Data Equity",
    "followers": 11
  },
  "_downloads": {
    "count": 252,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/CIMEHR"
  },
  "_devurl": "https://github.com/ysph-dsde/cimehr",
  "_searchresults": 0,
  "_topics": [
    "cpp"
  ],
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/CIMEHR.html",
    "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",
    "LICENSE"
  ],
  "_homeurl": "https://github.com/ysph-dsde/cimehr",
  "_realowner": "ysph-dsde",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2026-06-08"
    }
  ],
  "_exports": [
    "available_comparison_methods",
    "baseline_mean",
    "CIMEHR",
    "CIMEHR_HL",
    "cimehr_methods",
    "CIMEHR_spline",
    "CIMEHR_spline_HL",
    "coef_stage",
    "EHRJoint",
    "extract_coefficient",
    "fit_method",
    "IIRR",
    "IIRR_balancing",
    "Inverse_intensity_rate_ratio_balancing",
    "Inverse_intensity_rate_ratio_weighting",
    "JMVL_G",
    "Joint_modeling_visiting_and_longitudinal_Liang",
    "Liang",
    "Lin_Ying",
    "Linear_increment_IP",
    "Linear_mixed_model",
    "LMM",
    "meanfit",
    "method_comparisons",
    "Multiple_imputation_IP",
    "Pairwise_likelihood",
    "population_trajectory",
    "summary_observation",
    "summary_outcome",
    "Summary_stat",
    "summary_visiting"
  ],
  "_datasets": [
    {
      "name": "cimehr_example",
      "title": "Simulated Participant and Biomarker Visit Records",
      "object": "cimehr_example",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "CIMEHR-package",
      "title": "Longitudinal Analysis of Electronic Health Records with Informative Visiting and Recording",
      "topics": [
        "CIMEHR-package"
      ]
    },
    {
      "page": "baseline_mean",
      "title": "Evaluate Baseline and Population Mean Curves",
      "topics": [
        "baseline_mean",
        "plot.cimehr_fit",
        "population_trajectory",
        "predict.cimehr_fit"
      ]
    },
    {
      "page": "CIMEHR",
      "title": "CIMEHR Three-Stage Estimator for Informative Visiting and Recording",
      "topics": [
        "CIMEHR",
        "CIMEHR_HL"
      ]
    },
    {
      "page": "cimehr_example",
      "title": "Simulated Participant and Biomarker Visit Records",
      "topics": [
        "cimehr_example"
      ]
    },
    {
      "page": "cimehr_fit-methods",
      "title": "Methods for Fitted CIMEHR and Comparison-Method Objects",
      "topics": [
        "cimehr_fit-methods",
        "coef.cimehr_fit",
        "confint.cimehr_fit",
        "print.cimehr_fit",
        "summary.cimehr_fit",
        "vcov.cimehr_fit"
      ]
    },
    {
      "page": "CIMEHR_spline",
      "title": "CIMEHR with a Spline Baseline and Spline Trajectories",
      "topics": [
        "CIMEHR_spline",
        "CIMEHR_spline_HL",
        "predict.cimehr_spline_fit"
      ]
    },
    {
      "page": "comparison_methods",
      "title": "Named Wrappers for the Comparison Methods",
      "topics": [
        "comparison_methods",
        "EHRJoint",
        "IIRR",
        "IIRR_balancing",
        "Inverse_intensity_rate_ratio_balancing",
        "Inverse_intensity_rate_ratio_weighting",
        "JMVL_G",
        "Joint_modeling_visiting_and_longitudinal_Liang",
        "Liang",
        "Linear_increment_IP",
        "Linear_mixed_model",
        "Lin_Ying",
        "LMM",
        "Multiple_imputation_IP",
        "Pairwise_likelihood",
        "Summary_stat"
      ]
    },
    {
      "page": "fit_method",
      "title": "Fit CIMEHR or a Comparison Method Through the Common Interface",
      "topics": [
        "available_comparison_methods",
        "cimehr_methods",
        "fit_method",
        "method_comparisons"
      ]
    },
    {
      "page": "meanfit",
      "title": "Construct and Plot Fitted Longitudinal Mean Curves",
      "topics": [
        "as.data.frame.cimehr_meanfit",
        "cimehr_meanfit",
        "meanfit",
        "meanfit.cimehr_fit",
        "plot.cimehr_meanfit",
        "print.cimehr_meanfit",
        "summary.cimehr_meanfit"
      ]
    },
    {
      "page": "stage_summaries",
      "title": "Stage-Specific Parameter Tables",
      "topics": [
        "coef_stage",
        "extract_coefficient",
        "stage_summaries",
        "summary_observation",
        "summary_outcome",
        "summary_visiting"
      ]
    }
  ],
  "_readme": "https://github.com/ysph-dsde/cimehr/raw/HEAD/README.md",
  "_rundeps": [
    "lattice",
    "nlme",
    "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"
    }
  ],
  "_vignettes": [
    {
      "source": "cimehr-workflow.Rmd",
      "filename": "cimehr-workflow.html",
      "title": "From EHR visit records to fitted biomarker trajectories",
      "engine": "knitr::rmarkdown",
      "headings": [
        "1. Prepare the participant and visit data",
        "2. State the designs and fit the four variants",
        "3. Inspect estimates and uncertainty by stage",
        "4. Construct baseline and population trajectories",
        "5. Request pointwise 95% intervals explicitly",
        "6. Locate the included results or export your own"
      ],
      "created": "2026-10-21 16:39:48",
      "modified": "2026-10-22 01:29:32",
      "commits": 2
    }
  ],
  "_score": 4.653212513775344,
  "_indexed": true,
  "_nocasepkg": "cimehr",
  "_universes": [
    "ysph-dsde",
    "cyang728"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-10-22T05:16:02.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "94144caa6c96988d4b94d8a84930e4c99f43f459",
      "fileid": "https://r2.ropensci.org/af694583489e97febf973178cd4f829eadc081855ec885a46e44adfbd1f7e089",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ysph-dsde/actions/runs/39726111916"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-10-22T05:16:31.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "94144caa6c96988d4b94d8a84930e4c99f43f459",
      "fileid": "https://r2.ropensci.org/858ae806b236c2aaf25d9e6f07e0f1564793d521a63d36869bbf86437d382515",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ysph-dsde/actions/runs/39726111916"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-10-22T05:16:10.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "94144caa6c96988d4b94d8a84930e4c99f43f459",
      "fileid": "https://r2.ropensci.org/6517027cf20a703a7eed6c70b8b269c12acaf3c21d0aa6e552007f826c813ef4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ysph-dsde/actions/runs/39726111916"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.2.0",
      "date": "2026-10-22T05:16:30.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "94144caa6c96988d4b94d8a84930e4c99f43f459",
      "fileid": "https://r2.ropensci.org/61b1bd0d437653619d37bf3a23e782d6729e7299cc124c0d8c20f7d05ee3b146",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ysph-dsde/actions/runs/39726111916"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.0",
      "date": "2026-10-22T05:16:20.000Z",
      "arch": "aarch64",
      "commit": "94144caa6c96988d4b94d8a84930e4c99f43f459",
      "fileid": "https://r2.ropensci.org/6e74079ee68b8f8c65b20904dd5a49c66b464c72a016cc5b8cd553a82a7b11b2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ysph-dsde/actions/runs/39726111916"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.0",
      "date": "2026-10-22T05:18:13.000Z",
      "arch": "x86_64",
      "commit": "94144caa6c96988d4b94d8a84930e4c99f43f459",
      "fileid": "https://r2.ropensci.org/188245c10863b807cc1dec78136ea577b6bed40a52fbc42b91ba39ff7f56f99e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ysph-dsde/actions/runs/39726111916"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.2.0",
      "date": "2026-10-22T05:16:40.000Z",
      "arch": "aarch64",
      "commit": "94144caa6c96988d4b94d8a84930e4c99f43f459",
      "fileid": "https://r2.ropensci.org/046bb7127edbb8561faa82a00934d3fa2f6af37e26e027e41dbe2315e3950c42",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ysph-dsde/actions/runs/39726111916"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.2.0",
      "date": "2026-10-22T05:18:30.000Z",
      "arch": "x86_64",
      "commit": "94144caa6c96988d4b94d8a84930e4c99f43f459",
      "fileid": "https://r2.ropensci.org/926d040fbc76e46d6c26dd297fe489868a68af28f0a8814db803f826a8617c83",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ysph-dsde/actions/runs/39726111916"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.0",
      "date": "2026-10-22T05:16:34.000Z",
      "arch": "emscripten",
      "commit": "94144caa6c96988d4b94d8a84930e4c99f43f459",
      "fileid": "https://r2.ropensci.org/d0e385870c294187716bc32418d6a9056ff777bb97d464baf3639474c39890d9",
      "status": "success",
      "buildurl": "https://github.com/r-universe/ysph-dsde/actions/runs/39726111916"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-10-22T05:17:23.000Z",
      "arch": "aarch64",
      "commit": "94144caa6c96988d4b94d8a84930e4c99f43f459",
      "fileid": "https://r2.ropensci.org/3e613559780c8d60196e76a61b5654cc09e2557621d418fbaad4cbc0ad86f8d7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ysph-dsde/actions/runs/39726111916"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-10-22T05:15:36.000Z",
      "arch": "x86_64",
      "commit": "94144caa6c96988d4b94d8a84930e4c99f43f459",
      "fileid": "https://r2.ropensci.org/6c5c2235756316d857124685bb05e29aad89b704e7061a41b346647e244dff20",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ysph-dsde/actions/runs/39726111916"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-10-22T05:15:32.000Z",
      "arch": "x86_64",
      "commit": "94144caa6c96988d4b94d8a84930e4c99f43f459",
      "fileid": "https://r2.ropensci.org/cee2dac8b7fb151d2a95c01991408a8c46220ef6315ccd3323d394c965daad77",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ysph-dsde/actions/runs/39726111916"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-10-22T05:17:49.000Z",
      "arch": "aarch64",
      "commit": "94144caa6c96988d4b94d8a84930e4c99f43f459",
      "fileid": "https://r2.ropensci.org/11bb9ab93ba9f2123279b54c882890df150d7839a15441f9d6c362b972e2d9b4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ysph-dsde/actions/runs/39726111916"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.2.0",
      "date": "2026-10-22T05:15:52.000Z",
      "arch": "x86_64",
      "commit": "94144caa6c96988d4b94d8a84930e4c99f43f459",
      "fileid": "https://r2.ropensci.org/4e647f64a066f7722d1c890450feb119f8166a121905b0f18e33d006e725ee8b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ysph-dsde/actions/runs/39726111916"
    }
  ]
}