The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.
#====================================
# Set up the reporting environment.
#====================================
tmpdr <- tempdir()
setup <- function(tlfid){
repfun::rs_setup(
D_DATADATE=Sys.Date(),
D_DSPLYNUM=tlfid,
D_DSPLYTYP=F,
D_FOOT1=paste0('1.) Footnote #1 for sample figure ',tlfid,'.'),
D_FOOT2=paste0('2.) Footnote #2 for sample figure ',tlfid,'.'),
D_FOOT3=paste0('3.) Footnote #3 for sample figure ',tlfid,'.'),
D_KEEPPOPVARS=c('STUDYID','USUBJID','SAFFL'),
D_OUTFILE=paste0(tmpdr,"/t_ru_list_fig_",tlfid,".rtf"),
D_PGMPTH="~/vignettes/Figures.Rmd",
D_STUDYID='ABCXYZPDQ',
D_POP="SAFFL",
D_POPDATA=repfun::adae %>% dplyr::filter(SAFFL =='Y') %>%
dplyr::mutate(TRT01AN=ifelse(TRT01A=='Placebo',1,ifelse(TRT01A=='Xanomeline Low Dose',2,3))) %>%
repfun::ru_labels(varlabels=list('TRT01AN'='Actual Treatment for Period 01 (n)')),
D_POPLBL="Safety",
D_SUBJID=c("STUDYID","USUBJID"),
D_TITLE1=paste0('Figure ',tlfid,': Figure using IRIS Data Set'),
R_DDDATA=paste0(tmpdr,'/t_ru_list_fig_',tlfid,'.rds'),
R_ADAMDATA="../data")
}setup(1)
myplot <- ggplot(iris, aes(Sepal.Length, Sepal.Width)) + geom_point()
repfun::ru_list(dsetin=myplot,
dddatasetlabel='DD Dataframe for Figure 1')setup(2)
assign("G_HEIGHT", repfun:::rfenv$G_HEIGHT-.15 ,envir=repfun:::rfenv)
myplot1 <- ggplot(iris, aes(Sepal.Length, Sepal.Width)) + geom_point()
myplot2 <- ggplot(iris, aes(Species, Sepal.Length)) + geom_boxplot()
myplots <- list('Gender: Male'=myplot1, 'Gender: Female'=myplot2)
repfun::ru_list(dsetin=myplots,
dddatasetlabel='DD Dataframe for Figure 2')These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.