Read a shipped record of the MRCT consistency campaign
Source:R/mrct_minor_helpers.R
mrct_record.RdThe records behind the MRCT consistency articles ship with the package, in
extdata/mrct-consistency, with their provenance in its PROVENANCE.md. From a source
tree the local copy is used; otherwise the installed one.
Arguments
- file
The file's name, for instance
"rep5_trial.csv".- ...
Passed to
utils::read.csv().
Examples
trial <- mrct_record("rep5_trial.csv")
dim(trial)
#> [1] 1000 18
mrct_record("mr_field_S2_rep5.csv")$sg_found
#> [1] "{z_cd40 <= 236} & !{z_preanti <= 196}"