Description Usage Arguments Value Examples
The function writes the MainReport rmd file and write the child rmd files and organize them together in one report
1 2 | finishReport(..., sub.dir = "Data_Report", save.mode = TRUE,
theme = "cosmo", df.print = "paged", override = FALSE)
|
... |
Report objects |
sub.dir |
[ |
save.mode |
[ |
theme |
[ |
df.print |
[ |
override |
[ |
creates rmd Files, returns NULL
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 | data("airquality")
basic.report.task = makeBasicReportTask(id = "AirqualityTask", data = airquality, target = "Wind")
basic.report = makeReport(basic.report.task)
data("Boston", package = "MASS")
num.sum.task = makeNumSumTask(id = "BostonTask", data = Boston, target = NULL)
num.sum.result = makeNumSum(num.sum.task)
num.sum.report = makeReport(num.sum.result)
corr.task = makeCorrTask(id = "test", data = cars)
corr.result = makeCorr(corr.task)
corr.report = makeReport(corr.result)
data(diamonds, package = "ggplot2")
corr.task2 = makeCorrTask(id = "test2", data = diamonds)
corr.result2 = makeCorr(corr.task2)
corr.report2 = makeReport(corr.result2)
data("Arthritis", package = "vcd")
cat.sum.task = makeCatSumTask(id = "Arthritis.Task", data = Arthritis,
target = "Improved", na.rm = TRUE)
cat.sum.result = makeCatSum(cat.sum.task)
cat.sum.report = makeReport(cat.sum.result)
#combine all reports
finishReport(basic.report, num.sum.report, corr.report, corr.report2,
cat.sum.report, save.mode = FALSE, override = TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.