obs <- read.csv(system.file(package = "vachette", "examples", "iv-obs.csv"))
typ <- read.csv(system.file(package = "vachette", "examples", "iv-typ-minmax.csv"))
vd <- vachette_data(
obs.data = obs,
typ.data = typ,
covariates = c(WT = 70),
mappings = c(OBS = "DV", x = "time"),
model.name = "IV"
)
vd <- apply_transformations(vd)
Run the code above in your browser using DataLab