powered by
Creates a report table ready for publication.
# S3 method for data.frame report( x, by = NULL, remove.by = FALSE, file = NULL, type = "word", digits = 2, digitscat = digits, print = TRUE, ... )
Returns a summary table of the data in publication-friendly format
A data.frame object
Grouping variable for the report
Remove grouping variable from the report table?
Name of the file to export the table
Format of the file
Number of decimal places
Number of decimal places for categorical variables (if different to digits)
Should the report table be printed on screen?
further arguments passed to make_table()
report(iris) (reporTable<-report(iris, by="Species")) class(reporTable)
Run the code above in your browser using DataLab