run_Labs | R Documentation |
This module will load and modify laboratory data.
run_Labs(lab.path, lab.select, lab.mod.list)
lab.path |
filename of a lab file (CSV, RData, RDS), or data.frame |
lab.select |
columns to select |
lab.mod.list |
list of expressions giving modifications to make;
passed to |
See EHR Vignette for Structured Data.
lab data set
lab_data <- data.frame(mod_id=rep(1:3,each=3), date=rep(c("01/12/17","05/05/18","11/28/16"),each=3), time=rep(c("1:30","2:30","3:30"),3), creat=rnorm(9,0.5,0.05)) run_Labs(lab_data, lab.mod.list=list(log_creat=expression(log(creat))))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.