use_title <-"Plot of Mean (+/- SD) Plasma Concentrations Over Time by Treatment, \nPK Evaluable Patients"use_subtitle <-"Analyte:"use_footnote <-"Program: \nOutput:"result <-g_lineplot(df = adpc,variables =control_lineplot_vars(x ="NFRLT",y ="AVAL",group_var ="ARM",paramcd ="PARAM",y_unit ="AVALU",subject_var ="USUBJID" ),alt_counts_df = adsl_f,y_lab ="Concentration",y_lab_add_paramcd =FALSE,y_lab_add_unit =TRUE,interval ="mean_sdi",whiskers =c("mean_sdi_lwr", "mean_sdi_upr"),title = use_title,subtitle = use_subtitle,caption = use_footnote,ggtheme =theme_nest())plot <- result +theme(plot.caption =element_text(hjust =0))plot
Experimental use!
WebR is a tool allowing you to run R code in the web browser. Modify the code below and click run to see the results. Alternatively, copy the code and click here to open WebR in a new tab.
Scale for y is already present.
Adding another scale for y, which will replace the existing scale.
Code
plot
Experimental use!
WebR is a tool allowing you to run R code in the web browser. Modify the code below and click run to see the results. Alternatively, copy the code and click here to open WebR in a new tab.