powered by
xgx_summarize_covariates
xgx_summarize_covariates(data, covariates = NULL, n_cts = 8)
list
the dataset to check. must contain a USUBJID or ID column for subject id
the column names of covariates, to explore
the number of unique values for a covariate to be treated as continuous, default is 8
data <- data.frame(ID = 1:10, WT0 = rnorm(10, 70, 10), SEX = round(runif(10))) x <- xgx_summarize_covariates(data, c("WT0", "SEX"))
Run the code above in your browser using DataLab