powered by
This function configures alternating pages on a clintable object.
clin_alt_pages(x, key_cols, col_groups)
A clintable object
A character vector of variable names
A list of character vectors of variable names
ct <- clintable(mtcars) clin_alt_pages( ct, key_cols = c("mpg", "cyl", "hp"), col_groups = list( c("disp", "drat", "wt"), c("qsec", "vs", "am"), c("gear", "carb") ) )
Run the code above in your browser using DataLab