Function for making Table One.
Value
A results object containing:
results$todo | a html | ||||
results$tablestyle1 | a preformatted | ||||
results$tablestyle2 | a html | ||||
results$tablestyle3 | a html | ||||
results$tablestyle4 | a preformatted |
Examples
# \donttest{
data('histopathology')
#> Warning: data set ‘histopathology’ not found
dat <- as.data.frame(histopathology)
ClinicoPath::tableone(
data = dat,
vars = vars(Sex, PreinvasiveComponent, LVI, PNI, Grade, Age),
sty = "t3",
excl = TRUE)
#> Error in loadNamespace(x): there is no package called ‘ClinicoPath’
# }