report: Generate a report of all variables
Description
Generate a report of all variables
If target is defined, the relation to the target is reported
Usage
report(data, n, target, targetpct, split, output_file, output_dir)
Arguments
- data
A dataset
- n
Weights variable for count data
- target
Target variable (0/1 or FALSE/TRUE)
- targetpct
Plot variable as target% (FALSE/TRUE)
- split
Alternative to targetpct (split = !targetpct)
- output_file
Filename of the html report
- output_dir
Directory where to save the html report
Examples
Run this codeif (rmarkdown::pandoc_available("1.12.3")) {
report(iris, output_dir = tempdir())
}
Run the code above in your browser using DataLab