forest.dat | R Documentation |
Generate dataset for coveffectsplot
forest.dat(
data = t,
parameter = c("Cmax..ng.mL.", "AUCtau..ng.h.mL."),
catcov = c("Cohort", "WT_group"),
stats = c("quantile(x,0.5)=mid", "quantile(x,0.05)=lower", "quantile(x,0.95)=upper",
"length(x)=n"),
N = T
)
data |
data frame (prepare categorical covariates before hand) |
parameter |
list of parameters |
catcov |
list categorical covariates. |
stats |
define statistics for mid, lower and upper. |
N |
number of subjects to be included |
dat<-forest.dat(data=t,parameter=c("Cmax..ng.mL.","AUCtau..ng.h.mL."),catcov=c("Cohort","WT_group"),stats=c("quantile(x,0.5)=mid","quantile(x,0.05)=lower","quantile(x,0.95)=upper","length(x)=n"))
Save dataset as CSV then open shiny APP using coveffectsplot::run_interactiveforestplot(). The package could be installed from Github: devtools::install_github('smouksassi/coveffectsplot')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.