SafetyGraphics / hep-explorer

Interactive Graphic for Exploring Liver Function Data in Clinical Trials
https://safetygraphics.github.io/hep-explorer/test/
MIT License
10 stars 3 forks source link

Add treatment to example 2 #221

Closed jwildfire closed 5 years ago

jwildfire commented 5 years ago

Just hit the csv with this r code, and update the settings file a bit

  read.csv("./allQuads.csv") %>% 
  group_by(SUBJID) %>%
  mutate(TRTA = ifelse(runif(1)>0.5, "Treatment", "Placebo")) %>%
  write.csv("./allQuads.csv")