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.
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.
Code
library(dplyr)library(tern)adsl <- random.cdisc.data::cadsladvs <- random.cdisc.data::cadvs# Ensure character variables are converted to factors and empty strings# and NAs are explicit missing levels.adsl <-df_explicit_na(adsl)advs <-df_explicit_na(advs)# Note: We keep only post-baseline for analysis.advs_f <- advs %>%filter(ONTRTFL =="Y", ANRIND !="<Missing>") %>%var_relabel(PARAM ="Assessment",ANRIND ="Abnormality" )split_fun <- drop_split_levels
shinylive allow you to modify to run shiny application entirely in the web browser. Modify the code below and click re-run the app to see the results. The performance is slighly worse and some of the features (e.g. downloading) might not work at all.