report | R Documentation |
Generate a report of all variables If target is defined, the relation to the target is reported
report(data, n, target, targetpct, split, color, output_file, output_dir)
data |
A dataset |
n |
Weights variable for count data |
target |
Target variable (0/1 or |
targetpct |
Plot variable as target% ( |
split |
Alternative to targetpct (split = !targetpct) |
color |
User defined colors for plots (vector) |
output_file |
Filename of the html report |
output_dir |
Directory where to save the html report |
if (rmarkdown::pandoc_available("1.12.3")) {
report(iris, output_dir = tempdir())
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.