powered by
create a data.frame summary for continuous variables
continuous_summary( dat, columns = NULL, by = character(0), hide_grouplabel = TRUE, digits = 3 )
a data.frame
continuous variables to be summarized. If NULL all continuous variables are summarized.
discrete variables to use as groups when summarizing.
if TRUE, group label will not be rendered, only level/value will be rendered.
the desired number of digits after the decimal point
ft_1 <- continuous_summary(iris, names(iris)[1:4], by = "Species", hide_grouplabel = FALSE) ft_1
Run the code above in your browser using DataLab