powered by
plotsam plots the sample dataset of biomarker responses. This is used for the hypothetical case study.
plotsam
plotsam(pop_mean_long, pop_profile, sam_long)
plotsam returns a ggplot object.
a data frame, the second output of setpop.
setpop
a data frame, the third output of setpop.
a data frame, the second output of simul.
simul
set.seed(1) setting <- setpop() temp <- simul(setting$pop_mean) plotsam(setting$pop_mean_long, setting$pop_profile, temp$sam_long)
Run the code above in your browser using DataLab