{
  "_id": "6ace0ebda14063b82c3af124",
  "Package": "TrialEmulation",
  "Title": "Causal Analysis of Observational Time-to-Event Data",
  "Version": "0.0.5",
  "Authors@R": "c(\nperson(\"Isaac\", \"Gravestock\", , \"isaac.gravestock@gmail.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(\"Juliette\", \"Limozin\", , role = \"aut\",\ncomment = c(ORCID = \"0000-0002-1140-2350\")),\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)",
  "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/roxygen2/version": "8.1.0",
  "Config/Needs/website": "rmarkdown",
  "Config/pak/sysreqs": "libicu-dev xz-utils",
  "Repository": "https://remlapmot.r-universe.dev",
  "Date/Publication": "2026-08-14 07:21:13 UTC",
  "RemoteUrl": "https://github.com/Causal-LDA/TrialEmulation",
  "RemoteRef": "HEAD",
  "RemoteSha": "735eea6a0cf227820f1c2af8cea4120635cb268a",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-10-13 10:48:24 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],\nJuliette Limozin [aut] (ORCID: <https://orcid.org/0000-0002-1140-2350>),\nMedical Research Council (MRC) [fnd],\nF. Hoffmann-La Roche AG [cph, fnd]",
  "Maintainer": "Isaac Gravestock <isaac.gravestock@gmail.com>",
  "_user": "remlapmot",
  "_type": "src",
  "_file": "TrialEmulation_0.0.5.tar.gz",
  "_fileid": "https://r2.ropensci.org/3814d482740b8bb6a4104039b59defd8e7b70fd1d68c966466eeb06b1a976bb7",
  "_filesize": 2393806,
  "_sha256": "3814d482740b8bb6a4104039b59defd8e7b70fd1d68c966466eeb06b1a976bb7",
  "_expires": "2027-01-21T10:58:01.000Z",
  "_created": "2026-10-13T10:48:24.000Z",
  "_published": "2026-10-13T10:58:05.779Z",
  "_buildurl": "https://github.com/r-universe/remlapmot/actions/runs/38385379982",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 115257719364,
      "time": 198,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11806306680"
    },
    {
      "job": 115257719329,
      "time": 251,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11806875493"
    },
    {
      "job": 115257719308,
      "time": 189,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11806800344"
    },
    {
      "job": 115257719339,
      "time": 194,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11806246668"
    },
    {
      "job": 115257719430,
      "time": 187,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11806626401"
    },
    {
      "job": 115257719433,
      "time": 449,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11807296170"
    },
    {
      "job": 115257719350,
      "time": 280,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11806810672"
    },
    {
      "job": 115257719483,
      "time": 355,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11807590870"
    },
    {
      "job": 115255868317,
      "time": 294,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11806511037"
    },
    {
      "job": 115257719263,
      "time": 118,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11805322963"
    },
    {
      "job": 115257719569,
      "time": 324,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11807105740"
    },
    {
      "job": 115257719370,
      "time": 255,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11806980543"
    },
    {
      "job": 115257719310,
      "time": 239,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11807420298"
    },
    {
      "job": 115257719453,
      "time": 290,
      "config": "windows-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11807260496"
    },
    {
      "job": 115257719510,
      "time": 239,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11806576542"
    }
  ],
  "_upstream": "https://github.com/Causal-LDA/TrialEmulation",
  "_commit": {
    "id": "735eea6a0cf227820f1c2af8cea4120635cb268a",
    "author": "Isaac Gravestock <83659704+gravesti@users.noreply.github.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "new release (#242)\n\n* updates\n\n* Increment version number to 0.0.5\n\n* update news\n\n\n* move to articles\n\n* formatting\n\n* convert to article\n\n* [skip roxygen] [skip vbump] Roxygen Man Pages Auto Update\n\n* tidy up, skip long tests\n\n* address review comments\n\n---------\n\nCo-authored-by: igrave <isaac.gravestock@gmail.com>\nCo-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>",
    "time": 1786692073
  },
  "_maintainer": {
    "name": "Isaac Gravestock",
    "email": "isaac.gravestock@gmail.com",
    "login": "igrave",
    "description": "",
    "uuid": 22935162,
    "orcid": "0000-0003-0283-2065"
  },
  "_distro": "resolute",
  "_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": false,
  "_usedby": 0,
  "_updates": [
    {
      "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
    },
    {
      "week": "2026-26",
      "n": 1
    },
    {
      "week": "2026-33",
      "n": 1
    }
  ],
  "_tags": [
    {
      "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": 44,
  "_contributors": [
    {
      "user": "gravesti",
      "count": 296,
      "uuid": 83659704
    },
    {
      "user": "darkgoldenrod-cherry",
      "count": 20,
      "uuid": 104455590
    },
    {
      "user": "roonakr",
      "count": 3,
      "uuid": 47562815
    },
    {
      "user": "juliettelimozin",
      "count": 2,
      "uuid": 66910470
    },
    {
      "user": "hadley",
      "count": 1,
      "uuid": 4196
    },
    {
      "user": "joshhwuu",
      "count": 1,
      "uuid": 124658199
    }
  ],
  "_userbio": {
    "uuid": 3777473,
    "type": "user",
    "name": "Tom Palmer",
    "followers": 110,
    "description": "Averaging statistician ... "
  },
  "_downloads": {
    "count": 448,
    "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": 96,
  "_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/TrialEmulation.html"
  ],
  "_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"
    },
    {
      "version": "0.0.5",
      "date": "2026-08-25"
    }
  ],
  "_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": "16-20260322-1ubuntu1",
      "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.345883212931714,
  "_indexed": false,
  "_nocasepkg": "trialemulation",
  "_universes": [
    "remlapmot"
  ],
  "_indexurl": "https://causal-lda.r-universe.dev/TrialEmulation",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.0.5",
      "date": "2026-10-13T10:50:45.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "735eea6a0cf227820f1c2af8cea4120635cb268a",
      "fileid": "https://r2.ropensci.org/9602aa40b4209ef51b62e00b27e64ad58a86c58e46f546644a267185c662603f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/remlapmot/actions/runs/38385379982"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.0.5",
      "date": "2026-10-13T10:51:10.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "735eea6a0cf227820f1c2af8cea4120635cb268a",
      "fileid": "https://r2.ropensci.org/248d447e5c07d2777101dd8c46f5060261a33cb9de37b3b285ad12270d8a1bf4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/remlapmot/actions/runs/38385379982"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.0.5",
      "date": "2026-10-13T10:50:45.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "735eea6a0cf227820f1c2af8cea4120635cb268a",
      "fileid": "https://r2.ropensci.org/33d9310a93fb153bd817fb8f3d548153b4d2c6721238d17e1f7db684bd8d362f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/remlapmot/actions/runs/38385379982"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.0.5",
      "date": "2026-10-13T10:51:14.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "735eea6a0cf227820f1c2af8cea4120635cb268a",
      "fileid": "https://r2.ropensci.org/31800b867775b1f8b677fcbf3b2fa9db1d257b15e5fede2cc4f334321b3b025b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/remlapmot/actions/runs/38385379982"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.0.5",
      "date": "2026-10-13T10:50:39.000Z",
      "arch": "aarch64",
      "commit": "735eea6a0cf227820f1c2af8cea4120635cb268a",
      "fileid": "https://r2.ropensci.org/1d74ab40453dce6417e21fb6abd9e40db9f15f2c0c7fe05b1483b0785b09e4ca",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/remlapmot/actions/runs/38385379982"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.0.5",
      "date": "2026-10-13T10:53:25.000Z",
      "arch": "x86_64",
      "commit": "735eea6a0cf227820f1c2af8cea4120635cb268a",
      "fileid": "https://r2.ropensci.org/669f8445245da7aa3aa459e9d4e655a563f9fccac32344d6b67988e215fe96a8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/remlapmot/actions/runs/38385379982"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.0.5",
      "date": "2026-10-13T10:51:16.000Z",
      "arch": "aarch64",
      "commit": "735eea6a0cf227820f1c2af8cea4120635cb268a",
      "fileid": "https://r2.ropensci.org/34cfa99aad04390104cefc5232b064efedd5eeb41b5b8da2edad3eca8bf9d1db",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/remlapmot/actions/runs/38385379982"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.0.5",
      "date": "2026-10-13T10:52:43.000Z",
      "arch": "x86_64",
      "commit": "735eea6a0cf227820f1c2af8cea4120635cb268a",
      "fileid": "https://r2.ropensci.org/b025d086ff41d7741e4c089c2f6a53efaf555c8e4929638db6ebe91f721c6b84",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/remlapmot/actions/runs/38385379982"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.0.5",
      "date": "2026-10-13T10:50:58.000Z",
      "arch": "emscripten",
      "commit": "735eea6a0cf227820f1c2af8cea4120635cb268a",
      "fileid": "https://r2.ropensci.org/2e9480e12203edbe89f797ce82ac44a92980d88edae60385385167f73b7630c7",
      "status": "success",
      "buildurl": "https://github.com/r-universe/remlapmot/actions/runs/38385379982"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.0.5",
      "date": "2026-10-13T10:52:03.000Z",
      "arch": "aarch64",
      "commit": "735eea6a0cf227820f1c2af8cea4120635cb268a",
      "fileid": "https://r2.ropensci.org/2dab95d6bf679bb5b9fdc7d5b8bd53c8d8d056bcbd6605654025a3c3f577d094",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/remlapmot/actions/runs/38385379982"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.0.5",
      "date": "2026-10-13T10:50:02.000Z",
      "arch": "x86_64",
      "commit": "735eea6a0cf227820f1c2af8cea4120635cb268a",
      "fileid": "https://r2.ropensci.org/2c58054673e77be4c2a2f7a487034434f670779c06f96ff8b63abc26642e0ffe",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/remlapmot/actions/runs/38385379982"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.0.5",
      "date": "2026-10-13T10:50:12.000Z",
      "arch": "x86_64",
      "commit": "735eea6a0cf227820f1c2af8cea4120635cb268a",
      "fileid": "https://r2.ropensci.org/bb9c30dfbf0ee62f3fd701108e4ef5c1df782883dca071ee6546fedfe21b73e7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/remlapmot/actions/runs/38385379982"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.0.5",
      "date": "2026-10-13T10:51:47.000Z",
      "arch": "aarch64",
      "commit": "735eea6a0cf227820f1c2af8cea4120635cb268a",
      "fileid": "https://r2.ropensci.org/e6068471309c9f8e4abe987d5e3c443d4a153f062d92667305c8529e56a82966",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/remlapmot/actions/runs/38385379982"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.0.5",
      "date": "2026-10-13T10:50:16.000Z",
      "arch": "x86_64",
      "commit": "735eea6a0cf227820f1c2af8cea4120635cb268a",
      "fileid": "https://r2.ropensci.org/f9962e52e0553d2197928844f02f16be0a2fd8d018fc145fbe2d9ab7a6ae1e2c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/remlapmot/actions/runs/38385379982"
    }
  ]
}