xgx_summarize_covariates: Summarize Covariate information in a dataset

View source: R/xgx_summarize_covariates.R

xgx_summarize_covariatesR Documentation

Summarize Covariate information in a dataset

Description

xgx_summarize_covariates

Usage

xgx_summarize_covariates(data, covariates = NULL, n_cts = 8)

Arguments

data,

the dataset to check. must contain a USUBJID or ID column for subject id

covariates,

the column names of covariates, to explore

n_cts,

the number of unique values for a covariate to be treated as continuous, default is 8

Value

list

Examples

data <- data.frame(ID = 1:10, WT0 = rnorm(10, 70, 10),
                   SEX = round(runif(10)))
x <- xgx_summarize_covariates(data, c("WT0", "SEX"))


xgxr documentation built on March 31, 2023, 11:46 p.m.