Description Usage Arguments Details Value Examples
View source: R/GenerateReport.R
GenerateReport
generates the markdown report in one command
1 2 3 4 5 6 7 8 9 10 11 12 |
dtpath |
dataset path as a string |
catVars |
vector of categorical variables names |
yvar |
y variable name if present else |
model |
type of model - |
title |
Title of the generated report |
output_format |
output report format. |
output_dir |
Directory where the output files needs to be stored. |
normality_test_method |
method for normality test for a variable.
Values can be |
interactive.plots |
for interactive variable exploration |
include.vars |
include only these variables from the full data |
This function creates a rmarkdown report which can be converted to html or pdf format file.
creates a rmarkdown and html/pdf file. Returns the output directory
on successful run and FALSE
in case of error
1 2 3 4 5 6 7 8 | # Assigning the temporary folder using tempdir(). replace with required directory
GenerateReport(dtpath = mtcars,
catVars = c("cyl", "vs", "am", "gear"),
yvar = "vs", model = "binClass",
output_format = NULL,
title = "Report",
output_dir = tempdir(), # pass the output directory
interactive.plots = FALSE) # set TRUE for interactive
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.