{
  "_id": "6a169116acfb0bcc41d7885d",
  "Package": "TrialEmulation",
  "Title": "Causal Analysis of Observational Time-to-Event Data",
  "Version": "0.0.4.11",
  "Authors@R": "c(\nperson(\"Isaac\", \"Gravestock\", , \"isaac.gravestock@roche.com\", role = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0003-0283-2065\")),\nperson(\"Li\", \"Su\", , \"li.su@mrc-bsu.cam.ac.uk\", role = \"aut\"),\nperson(\"Roonak\", \"Rezvani\", , \"roonak.r74@gmail.com\", role = \"aut\",\ncomment = c(ORCID = \"0000-0001-5580-5058\", \"Original package author\")),\nperson(\"Julia\", \"Moesch\", , \"julia.moesch@roche.com\", role = \"aut\"),\nperson(\"Medical Research Council (MRC)\", role = \"fnd\"),\nperson(\"F. Hoffmann-La Roche AG\", role = c(\"cph\", \"fnd\"))\n)",
  "Description": "Implements target trial emulation methods to apply\nrandomized clinical trial design and analysis in an\nobservational setting. Using marginal structural models, it can\nestimate intention-to-treat and per-protocol effects in\nemulated trials using electronic health records. A description\nand application of the method can be found in Danaei et al\n(2013) <doi:10.1177/0962280211403603>.",
  "License": "Apache License (>= 2)",
  "URL": "https://causal-lda.github.io/TrialEmulation/,\nhttps://github.com/Causal-LDA/TrialEmulation",
  "BugReports": "https://github.com/Causal-LDA/TrialEmulation/issues",
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "3",
  "Encoding": "UTF-8",
  "Language": "en-GB",
  "LazyData": "true",
  "LazyDataCompression": "xz",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.3",
  "Collate": "'RcppExports.R' 'bootstrap.R' 'bootstrap_helpers.R'\n'calculate_weights.R' 'data.R' 'data_extension.R'\n'data_manipulation.R' 'data_preparation.R' 'data_simulation.R'\n'data_utils.R' 'expand_trials.R' 'generics.R' 'initiators.R'\n'lr_utils.R' 'te_model_fitter.R' 'te_outcome_model.R'\n'te_datastore.R' 'te_weights.R' 'te_data.R' 'te_expansion.R'\n'trial_sequence.R' 'modelling.R' 'package.R' 'predict.R'\n'robust.R' 'sampling.R' 'te_datastore_csv.R'\n'te_datastore_duckdb.R' 'te_parsnip.R' 'te_stats_glm_logit.R'\n'utils.R' 'weighting.R'",
  "Config/pak/sysreqs": "libicu-dev xz-utils",
  "Repository": "https://causal-lda.r-universe.dev",
  "Date/Publication": "2026-04-27 15:15:23 UTC",
  "RemoteUrl": "https://github.com/causal-lda/trialemulation",
  "RemoteRef": "HEAD",
  "RemoteSha": "6964cf73eeb5c344f56496754b8dc86da86bc6e9",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-05-27 06:25:59 UTC",
    "User": "root"
  },
  "Author": "Isaac Gravestock [aut, cre] (ORCID:\n<https://orcid.org/0000-0003-0283-2065>),\nLi Su [aut],\nRoonak Rezvani [aut] (ORCID: <https://orcid.org/0000-0001-5580-5058>,\nOriginal package author),\nJulia Moesch [aut],\nMedical Research Council (MRC) [fnd],\nF. Hoffmann-La Roche AG [cph, fnd]",
  "Maintainer": "Isaac Gravestock <isaac.gravestock@roche.com>",
  "MD5sum": "cd61747d842def52e7e6301db8f4ce5d",
  "_user": "causal-lda",
  "_type": "src",
  "_file": "TrialEmulation_0.0.4.11.tar.gz",
  "_fileid": "2137cfdc1b3c7cfd5503d6512d12e932f1a8feaa11b0006aa3d19b641a3e16a0",
  "_filesize": 2387681,
  "_sha256": "2137cfdc1b3c7cfd5503d6512d12e932f1a8feaa11b0006aa3d19b641a3e16a0",
  "_created": "2026-05-27T06:25:59.000Z",
  "_published": "2026-05-27T06:37:10.415Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 78020115529,
      "time": 401,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7233475934"
    },
    {
      "job": 78020115589,
      "time": 386,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7233472302"
    },
    {
      "job": 78020115579,
      "time": 369,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7233467609"
    },
    {
      "job": 78020115538,
      "time": 438,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7233485892"
    },
    {
      "job": 78020115500,
      "time": 321,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7233449137"
    },
    {
      "job": 78020115492,
      "time": 591,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7233523851"
    },
    {
      "job": 78020115501,
      "time": 341,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7233450353"
    },
    {
      "job": 78020115513,
      "time": 609,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7233527218"
    },
    {
      "job": 78019530117,
      "time": 280,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7233375511"
    },
    {
      "job": 78020115490,
      "time": 131,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7233408360"
    },
    {
      "job": 78020115522,
      "time": 450,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7233489229"
    },
    {
      "job": 78020115540,
      "time": 443,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7233489120"
    },
    {
      "job": 78020115564,
      "time": 444,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7233487765"
    }
  ],
  "_buildurl": "https://github.com/r-universe/causal-lda/actions/runs/26494538711",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/causal-lda/trialemulation",
  "_commit": {
    "id": "6964cf73eeb5c344f56496754b8dc86da86bc6e9",
    "author": "Juliette Limozin <66910470+juliettelimozin@users.noreply.github.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Bootstrap and Jackknife CIs integration pull request (#223)\n\n* A first version of weight function that runs using the trial_pp object without errors\n\n* Remodel = TRUE version working with correct estimates.\n\n* Adding bootstrap.R to collate\n\n* Removing duplicate collate\n\n* Adding function description\n\n* Saving description collate change\n\n* Fixing error in DESCRIPTION\n\n* Updating roxygen on bootstrap.R\n\n* Change export/roxygen setting, comming to get automatoc roxygen updates\n\n* Fixed some  Lint errors in bootstrap.R\n\n* Test script with low tolerance\n\n* Function to calculate CIs\n\n* Needed to change required variables in check new data to make sure it includes followup_times\n\n* Added predict for resampling CI methods using trial_sequence class\n\n* bootstrap prepare for merge (#227)\n\n* rework tests\n\n* rework to pass checks\n\n* move to smaller functions\n\n* linter fixes\n\n* update snapshot\n\n* Prepare for merge\n\n* Post-merge clean commit\n\n* Added draft jackknife CI calculator\n\n* Jackknife CI types integrated\n\n* Changing future_replucate to future_sapply to call on bootstrap resamples from outside the loop\n\n* Adding tests for all new methods\n\n* Changing rds path to test_path\n\n* Changint tolerance of tests and updating function manual\n\n* Updating manual and new interface vignette\n\n* Adding stop error for ITT estimand with anything other than sandwich CI; removing parglm doc\n\n* Adding expect_snapshot_value with tolerance to see if it makes a diff in unit test\n\n* Fixing sandwich CI variance and boootstrap for when new data is provided\n\n* Modifying how newdata is used in resampling-based CIs, adding new tests\n\n* Code style check\n\n* Code style check\n\n* Adding warnings for large sample size with Jackknife\n\n* some changes\n\n* review fixes\n\n* lintr\n\n* move predict to trial_sequence file\n\n* resolve comments and style\n\n---------\n\nCo-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>\nCo-authored-by: Isaac Gravestock <83659704+gravesti@users.noreply.github.",
    "time": 1777302923
  },
  "_maintainer": {
    "name": "Isaac Gravestock",
    "email": "isaac.gravestock@roche.com",
    "login": "gravesti",
    "description": "Statistical Engineering @ Roche",
    "uuid": 83659704,
    "orcid": "0000-0003-0283-2065"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "broom",
      "version": ">= 0.7.10",
      "role": "Imports"
    },
    {
      "package": "checkmate",
      "role": "Imports"
    },
    {
      "package": "data.table",
      "version": ">= 1.9.8",
      "role": "Imports"
    },
    {
      "package": "DBI",
      "role": "Imports"
    },
    {
      "package": "duckdb",
      "role": "Imports"
    },
    {
      "package": "formula.tools",
      "role": "Imports"
    },
    {
      "package": "lifecycle",
      "role": "Imports"
    },
    {
      "package": "lmtest",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "mvtnorm",
      "role": "Imports"
    },
    {
      "package": "Rcpp",
      "role": "Imports"
    },
    {
      "package": "sandwich",
      "role": "Imports"
    },
    {
      "package": "future.apply",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "parsnip",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "rpart",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "withr",
      "role": "Suggests"
    }
  ],
  "_owner": "causal-lda",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-23",
      "n": 1
    },
    {
      "week": "2025-24",
      "n": 3
    },
    {
      "week": "2025-46",
      "n": 2
    },
    {
      "week": "2025-47",
      "n": 4
    },
    {
      "week": "2026-03",
      "n": 2
    },
    {
      "week": "2026-15",
      "n": 2
    },
    {
      "week": "2026-18",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "v0.0.4.5",
      "date": "2025-06-13"
    },
    {
      "name": "v0.0.4.7",
      "date": "2025-11-17"
    },
    {
      "name": "v0.0.4.8",
      "date": "2025-11-18"
    },
    {
      "name": "v0.0.4.9",
      "date": "2026-01-13"
    },
    {
      "name": "v0.0.4.11",
      "date": "2026-04-09"
    }
  ],
  "_topics": [
    "causal-inference",
    "longitudinal-data",
    "survival-analysis",
    "cpp"
  ],
  "_stars": 38,
  "_contributors": [
    {
      "user": "gravesti",
      "count": 295,
      "uuid": 83659704
    },
    {
      "user": "darkgoldenrod-cherry",
      "count": 20,
      "uuid": 104455590
    },
    {
      "user": "roonakr",
      "count": 3,
      "uuid": 47562815
    },
    {
      "user": "hadley",
      "count": 1,
      "uuid": 4196
    },
    {
      "user": "juliettelimozin",
      "count": 1,
      "uuid": 66910470
    },
    {
      "user": "joshhwuu",
      "count": 1,
      "uuid": 124658199
    }
  ],
  "_userbio": {
    "uuid": 90907353,
    "type": "organization",
    "name": "Causal Inference with Longitudinal Data",
    "description": "An academic-industry collaboration developing statistical software for causal longitudinal data analysis"
  },
  "_downloads": {
    "count": 636,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/TrialEmulation"
  },
  "_devurl": "https://github.com/causal-lda/trialemulation",
  "_pkgdown": "https://causal-lda.github.io/TrialEmulation/",
  "_searchresults": 87,
  "_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/TrialEmulation.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/causal-lda/trialemulation",
  "_realowner": "causal-lda",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.0.3.2",
      "date": "2023-08-25"
    },
    {
      "version": "0.0.3.8",
      "date": "2024-01-24"
    },
    {
      "version": "0.0.3.9",
      "date": "2024-09-09"
    },
    {
      "version": "0.0.4.0",
      "date": "2024-11-29"
    },
    {
      "version": "0.0.4.2",
      "date": "2025-02-21"
    },
    {
      "version": "0.0.4.5",
      "date": "2025-06-13"
    },
    {
      "version": "0.0.4.8",
      "date": "2025-11-19"
    },
    {
      "version": "0.0.4.9",
      "date": "2026-01-14"
    },
    {
      "version": "0.0.4.11",
      "date": "2026-04-10"
    }
  ],
  "_exports": [
    "calculate_weights",
    "case_control_sampling_trials",
    "data_preparation",
    "expand_trials",
    "fit_msm",
    "fit_outcome_model",
    "fit_weights_model",
    "initiators",
    "ipw_data",
    "ipw_data<-",
    "load_expanded_data",
    "outcome_data",
    "outcome_data<-",
    "parsnip_model",
    "predict",
    "read_expanded_data",
    "sample_expanded_data",
    "save_expanded_data",
    "save_to_csv",
    "save_to_datatable",
    "save_to_duckdb",
    "set_censor_weight_model",
    "set_data",
    "set_expansion_options",
    "set_outcome_model",
    "set_switch_weight_model",
    "show_weight_models",
    "stats_glm_logit",
    "trial_msm",
    "trial_sequence",
    "weight_model_data_indices"
  ],
  "_datasets": [
    {
      "name": "data_censored",
      "title": "Example of longitudinal data for sequential trial emulation containing censoring",
      "object": "data_censored",
      "class": [
        "data.frame"
      ],
      "fields": [
        "id",
        "period",
        "treatment",
        "x1",
        "x2",
        "x3",
        "x4",
        "age",
        "age_s",
        "outcome",
        "censored",
        "eligible"
      ],
      "rows": 725,
      "table": true,
      "tojson": true
    },
    {
      "name": "te_data_ex",
      "title": "Example of a prepared data object",
      "object": "te_data_ex",
      "class": [
        "TE_data_prep_dt",
        "TE_data_prep"
      ],
      "fields": [],
      "table": false,
      "tojson": false
    },
    {
      "name": "te_model_ex",
      "title": "Example of a fitted marginal structural model object",
      "object": "te_model_ex",
      "class": [
        "TE_msm"
      ],
      "fields": [],
      "table": false,
      "tojson": false
    },
    {
      "name": "trial_example",
      "title": "Example of longitudinal data for sequential trial emulation",
      "object": "trial_example",
      "class": [
        "data.frame"
      ],
      "fields": [
        "id",
        "eligible",
        "period",
        "outcome",
        "treatment",
        "catvarA",
        "catvarB",
        "catvarC",
        "nvarA",
        "nvarB",
        "nvarC"
      ],
      "rows": 48400,
      "table": true,
      "tojson": true
    },
    {
      "name": "vignette_switch_data",
      "title": "Example of expanded longitudinal data for sequential trial emulation",
      "object": "vignette_switch_data",
      "class": [
        "data.frame"
      ],
      "fields": [
        "id",
        "trial_period",
        "followup_time",
        "outcome",
        "weight",
        "treatment",
        "catvarA",
        "catvarB",
        "catvarC",
        "nvarA",
        "nvarB",
        "nvarC",
        "assigned_treatment"
      ],
      "rows": 1939053,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "calculate_weights",
      "title": "Calculate Inverse Probability of Censoring Weights",
      "topics": [
        "calculate_weights",
        "calculate_weights,trial_sequence_AT-method",
        "calculate_weights,trial_sequence_ITT-method",
        "calculate_weights,trial_sequence_PP-method"
      ]
    },
    {
      "page": "case_control_sampling_trials",
      "title": "Case-control sampling of expanded data for the sequence of emulated trials",
      "topics": [
        "case_control_sampling_trials"
      ]
    },
    {
      "page": "data_censored",
      "title": "Example of longitudinal data for sequential trial emulation containing censoring",
      "topics": [
        "data_censored"
      ]
    },
    {
      "page": "data_preparation",
      "title": "Prepare data for the sequence of emulated target trials",
      "topics": [
        "data_preparation"
      ]
    },
    {
      "page": "expand_trials",
      "title": "Expand trials",
      "topics": [
        "expand_trials"
      ]
    },
    {
      "page": "fit_msm",
      "title": "Fit the marginal structural model for the sequence of emulated trials",
      "topics": [
        "fit_msm",
        "fit_msm,trial_sequence-method"
      ]
    },
    {
      "page": "fit_weights_model",
      "title": "Method for fitting weight models",
      "topics": [
        "fit_weights_model"
      ]
    },
    {
      "page": "initiators",
      "title": "A wrapper function to perform data preparation and model fitting in a sequence of emulated target trials",
      "topics": [
        "initiators"
      ]
    },
    {
      "page": "ipw_data",
      "title": "IPW Data Accessor and Setter",
      "topics": [
        "ipw_data",
        "ipw_data,trial_sequence-method",
        "ipw_data<-",
        "ipw_data<-,trial_sequence-method"
      ]
    },
    {
      "page": "load_expanded_data",
      "title": "Method to read, subset and sample expanded data",
      "topics": [
        "load_expanded_data",
        "load_expanded_data,trial_sequence-method"
      ]
    },
    {
      "page": "outcome_data",
      "title": "Outcome Data Accessor and Setter",
      "topics": [
        "outcome_data",
        "outcome_data,trial_sequence-method",
        "outcome_data<-",
        "outcome_data<-,trial_sequence-method"
      ]
    },
    {
      "page": "parsnip_model",
      "title": "Fit outcome models using 'parsnip' models",
      "concept": [
        "model_fitter"
      ],
      "topics": [
        "parsnip_model"
      ]
    },
    {
      "page": "predict_marginal",
      "title": "Predict marginal cumulative incidences with confidence intervals for a target trial population",
      "topics": [
        "predict",
        "predict,trial_sequence_ITT-method",
        "predict,trial_sequence_PP-method",
        "predict.TE_msm",
        "predict_marginal"
      ]
    },
    {
      "page": "print_TE",
      "title": "Print a weight summary object",
      "topics": [
        "print.TE_weight_summary"
      ]
    },
    {
      "page": "read_expanded_data",
      "title": "Method to read expanded data",
      "topics": [
        "read_expanded_data",
        "read_expanded_data,te_datastore_datatable-method"
      ]
    },
    {
      "page": "sample_expanded_data",
      "title": "Internal method to sample expanded data",
      "topics": [
        "sample_expanded_data",
        "sample_expanded_data,te_datastore-method"
      ]
    },
    {
      "page": "save_expanded_data",
      "title": "Method to save expanded data",
      "topics": [
        "save_expanded_data",
        "save_expanded_data,te_datastore_datatable-method"
      ]
    },
    {
      "page": "save_to_csv",
      "title": "Save expanded data as CSV",
      "concept": [
        "save_to"
      ],
      "topics": [
        "save_to_csv"
      ]
    },
    {
      "page": "save_to_datatable",
      "title": "Save expanded data as a 'data.table'",
      "concept": [
        "save_to"
      ],
      "topics": [
        "save_to_datatable"
      ]
    },
    {
      "page": "save_to_duckdb",
      "title": "Save expanded data to 'DuckDB'",
      "concept": [
        "save_to"
      ],
      "topics": [
        "save_to_duckdb"
      ]
    },
    {
      "page": "set_censor_weight_model",
      "title": "Set censoring weight model",
      "topics": [
        "set_censor_weight_model",
        "set_censor_weight_model,trial_sequence-method",
        "set_censor_weight_model,trial_sequence_AT-method",
        "set_censor_weight_model,trial_sequence_ITT-method",
        "set_censor_weight_model,trial_sequence_PP-method"
      ]
    },
    {
      "page": "set_data",
      "title": "Set the trial data",
      "topics": [
        "set_data",
        "set_data,trial_sequence_AT,data.frame-method",
        "set_data,trial_sequence_ITT,data.frame-method",
        "set_data,trial_sequence_PP,data.frame-method"
      ]
    },
    {
      "page": "set_expansion_options",
      "title": "Set expansion options",
      "concept": [
        "save_to"
      ],
      "topics": [
        "set_expansion_options",
        "set_expansion_options,trial_sequence_ITT-method",
        "set_expansion_options,trial_sequence_PP-method"
      ]
    },
    {
      "page": "set_outcome_model",
      "title": "Specify the outcome model",
      "topics": [
        "set_outcome_model",
        "set_outcome_model,trial_sequence-method",
        "set_outcome_model,trial_sequence_AT-method",
        "set_outcome_model,trial_sequence_ITT-method",
        "set_outcome_model,trial_sequence_PP-method"
      ]
    },
    {
      "page": "set_switch_weight_model",
      "title": "Set switching weight model",
      "topics": [
        "set_switch_weight_model",
        "set_switch_weight_model,trial_sequence-method",
        "set_switch_weight_model,trial_sequence_ITT-method"
      ]
    },
    {
      "page": "show_weight_models",
      "title": "Show Weight Model Summaries",
      "topics": [
        "show_weight_models"
      ]
    },
    {
      "page": "stats_glm_logit",
      "title": "Fit outcome models using 'stats::glm'",
      "concept": [
        "model_fitter"
      ],
      "topics": [
        "stats_glm_logit"
      ]
    },
    {
      "page": "summary_TE",
      "title": "Summary methods",
      "topics": [
        "summary.TE_data_prep",
        "summary.TE_data_prep_dt",
        "summary.TE_data_prep_sep",
        "summary.TE_msm",
        "summary.TE_robust"
      ]
    },
    {
      "page": "te_data_ex",
      "title": "Example of a prepared data object",
      "topics": [
        "te_data_ex"
      ]
    },
    {
      "page": "te_data-class",
      "title": "TrialEmulation Data Class",
      "topics": [
        "te_data-class"
      ]
    },
    {
      "page": "te_datastore-class",
      "title": "te_datastore",
      "topics": [
        "te_datastore-class"
      ]
    },
    {
      "page": "te_model_ex",
      "title": "Example of a fitted marginal structural model object",
      "topics": [
        "te_model_ex"
      ]
    },
    {
      "page": "te_model_fitter-class",
      "title": "Outcome Model Fitter Class",
      "concept": [
        "model_fitter"
      ],
      "topics": [
        "te_model_fitter-class"
      ]
    },
    {
      "page": "te_outcome_data-class",
      "title": "TrialEmulation Outcome Data Class",
      "topics": [
        "te_outcome_data-class"
      ]
    },
    {
      "page": "te_outcome_fitted-class",
      "title": "Fitted Outcome Model Object",
      "topics": [
        "te_outcome_fitted-class"
      ]
    },
    {
      "page": "te_outcome_model-class",
      "title": "Fitted Outcome Model Object",
      "topics": [
        "te_outcome_model-class"
      ]
    },
    {
      "page": "trial_example",
      "title": "Example of longitudinal data for sequential trial emulation",
      "topics": [
        "trial_example"
      ]
    },
    {
      "page": "trial_msm",
      "title": "Fit the marginal structural model for the sequence of emulated trials",
      "topics": [
        "trial_msm"
      ]
    },
    {
      "page": "trial_sequence",
      "title": "Create a sequence of emulated target trials object",
      "topics": [
        "trial_sequence"
      ]
    },
    {
      "page": "trial_sequence-class",
      "title": "Trial Sequence class",
      "topics": [
        "trial_sequence-class",
        "trial_sequence_AT-class",
        "trial_sequence_ITT-class",
        "trial_sequence_PP-class"
      ]
    },
    {
      "page": "vignette_switch_data",
      "title": "Example of expanded longitudinal data for sequential trial emulation",
      "topics": [
        "vignette_switch_data"
      ]
    },
    {
      "page": "weight_model_data_indices",
      "title": "Data used in weight model fitting",
      "topics": [
        "weight_model_data_indices"
      ]
    }
  ],
  "_pkglogo": "https://github.com/causal-lda/trialemulation/raw/HEAD/man/figures/logo.svg",
  "_readme": "https://github.com/causal-lda/trialemulation/raw/HEAD/README.md",
  "_rundeps": [
    "backports",
    "broom",
    "checkmate",
    "cli",
    "codetools",
    "cpp11",
    "data.table",
    "DBI",
    "digest",
    "dplyr",
    "duckdb",
    "formula.tools",
    "future",
    "future.apply",
    "generics",
    "globals",
    "glue",
    "lattice",
    "lifecycle",
    "listenv",
    "lmtest",
    "magrittr",
    "mvtnorm",
    "operator.tools",
    "parallelly",
    "pillar",
    "pkgconfig",
    "purrr",
    "R6",
    "Rcpp",
    "rlang",
    "sandwich",
    "stringi",
    "stringr",
    "tibble",
    "tidyr",
    "tidyselect",
    "utf8",
    "vctrs",
    "withr",
    "zoo"
  ],
  "_sysdeps": [
    {
      "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"
    }
  ],
  "_vignettes": [
    {
      "source": "Extending-TrialEmulation.Rmd",
      "filename": "Extending-TrialEmulation.html",
      "title": "Extending-TrialEmulation",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Model fitters",
        "Classes and Slots",
        "User Constructor",
        "Methods",
        "fit_weights_model",
        "fit_outcome_model",
        "predict",
        "Data Stores",
        "show",
        "save_expanded_data",
        "read_expanded_data",
        "sample_expanded_data"
      ],
      "created": "2024-08-23 11:10:57",
      "modified": "2024-08-23 11:10:57",
      "commits": 1
    },
    {
      "source": "Getting-Started.Rmd",
      "filename": "Getting-Started.html",
      "title": "Getting-Started",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Required Data",
        "All-in-one analysis",
        "Flexible Analysis"
      ],
      "created": "2021-10-06 14:29:33",
      "modified": "2025-11-18 14:11:00",
      "commits": 22
    },
    {
      "source": "new-interface.Rmd",
      "filename": "new-interface.html",
      "title": "New Interface",
      "engine": "knitr::rmarkdown",
      "headings": [
        "User Interface",
        "Observational Data",
        "Weight Models",
        "Censoring due to treatment switching",
        "Other informative censoring",
        "Calculate Weights",
        "Specify Outcome Model",
        "Expand Trials",
        "Set Expansion Options",
        "Create Sequence of Trials Data",
        "Sample or Load from Expanded Data",
        "Fit Marginal Structural Model",
        "Inference",
        "Flowchart"
      ],
      "created": "2024-06-04 08:39:44",
      "modified": "2026-04-27 15:15:23",
      "commits": 8
    }
  ],
  "_score": 8.239462152641385,
  "_indexed": true,
  "_nocasepkg": "trialemulation",
  "_universes": [
    "causal-lda",
    "gravesti"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.0.4.11",
      "date": "2026-05-27T06:28:59.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "6964cf73eeb5c344f56496754b8dc86da86bc6e9",
      "fileid": "427b678ddac2348f04ac506a9a7e1f83b5afe2460f4bf3addf9d3b0f6f8272c9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/causal-lda/actions/runs/26494538711"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.0.4.11",
      "date": "2026-05-27T06:28:49.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "6964cf73eeb5c344f56496754b8dc86da86bc6e9",
      "fileid": "05c6f097003968c7e71f53e7254cd3889ce846072dfd072b784d5ae4b1e439e1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/causal-lda/actions/runs/26494538711"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.0.4.11",
      "date": "2026-05-27T06:28:49.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "6964cf73eeb5c344f56496754b8dc86da86bc6e9",
      "fileid": "4d7fcd34935112f234a99a374cc3ca09cdefc228fad7620130a5b8cafe9c35af",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/causal-lda/actions/runs/26494538711"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.0.4.11",
      "date": "2026-05-27T06:29:21.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "6964cf73eeb5c344f56496754b8dc86da86bc6e9",
      "fileid": "5fb456217ae241299c4ed4e42b65d8b48068087ab071b1cf8b17683fba9f2a50",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/causal-lda/actions/runs/26494538711"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.0.4.11",
      "date": "2026-05-27T06:28:29.000Z",
      "arch": "aarch64",
      "commit": "6964cf73eeb5c344f56496754b8dc86da86bc6e9",
      "fileid": "21461ba157d75d2c82e8b88d0b9b6ef74805a1f29a2d1a6c57a71d27a4239196",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/causal-lda/actions/runs/26494538711"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.0.4.11",
      "date": "2026-05-27T06:29:56.000Z",
      "arch": "x86_64",
      "commit": "6964cf73eeb5c344f56496754b8dc86da86bc6e9",
      "fileid": "117e28bc3ef3ccffd3bf0fb4f7196b3ad581a2ec829f8bdca6ed5586b1f7cad1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/causal-lda/actions/runs/26494538711"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.0.4.11",
      "date": "2026-05-27T06:28:23.000Z",
      "arch": "aarch64",
      "commit": "6964cf73eeb5c344f56496754b8dc86da86bc6e9",
      "fileid": "621708109af8fe042e3b29f20e7f29cb7e581a7b5f5b772e3cb0df1227a047b1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/causal-lda/actions/runs/26494538711"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.0.4.11",
      "date": "2026-05-27T06:29:27.000Z",
      "arch": "x86_64",
      "commit": "6964cf73eeb5c344f56496754b8dc86da86bc6e9",
      "fileid": "c89527c69e1d4e85d497e250c59642409d745a03ecbd9629fefebf0e61ed5954",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/causal-lda/actions/runs/26494538711"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.0.4.11",
      "date": "2026-05-27T06:28:45.000Z",
      "arch": "emscripten",
      "commit": "6964cf73eeb5c344f56496754b8dc86da86bc6e9",
      "fileid": "b7ea9aff1f9fcef5ea69e7747b64080eb27cc7f61a41dbb90ed8a4b84d441d1d",
      "status": "success",
      "buildurl": "https://github.com/r-universe/causal-lda/actions/runs/26494538711"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.0.4.11",
      "date": "2026-05-27T06:27:55.000Z",
      "arch": "x86_64",
      "commit": "6964cf73eeb5c344f56496754b8dc86da86bc6e9",
      "fileid": "3e0e0926577dfebeb1770e6fc9d6fc6ff380c0e7d190ad8f6902d8b929908cad",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/causal-lda/actions/runs/26494538711"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.0.4.11",
      "date": "2026-05-27T06:28:04.000Z",
      "arch": "x86_64",
      "commit": "6964cf73eeb5c344f56496754b8dc86da86bc6e9",
      "fileid": "54dcc7680d2e3e3688d0fbbaad031bbd3869543531f980bcc40d847ee99dce82",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/causal-lda/actions/runs/26494538711"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.0.4.11",
      "date": "2026-05-27T06:27:47.000Z",
      "arch": "x86_64",
      "commit": "6964cf73eeb5c344f56496754b8dc86da86bc6e9",
      "fileid": "a2e838cc7ade79dfa360efc3bb94b79ea7386a6350e86fe83e29ad169c659acb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/causal-lda/actions/runs/26494538711"
    }
  ]
}