ez.report: Create an HTML report or MS DOC report on all the analyses...

View source: R/ez.report.R

ez.reportR Documentation

Create an HTML report or MS DOC report on all the analyses performed with easieR during the session

Description

This function generate an nice html/docx report from ez.results.

Usage

ez.report(html = NULL)

Arguments

html

Logical. Must the output be an html document (TRUE) or a MS word document (FALSE)

Details

ez.report is used for the generation of the report of a session.

Value

The function return the HTML/MS word page of the object produced by knitr.

Author(s)

Nicolas Stefaniak

Examples

df <- data.frame(
  gp = factor(rep(letters[1:3], each = 10)),
  y = rnorm(30)
)
ds <- plyr::ddply(df, "gp", plyr::summarise, mean = mean(y), sd = sd(y))

p<-ggplot(df, aes(gp, y)) +
  geom_point() +
  geom_point(data = ds, aes(y = mean), colour = 'red', size = 3)

ez.results<-list()
ez.result$df<-df
ez.result$p<-p 
ez.report(html=F)


NicolasStefaniak/easieR documentation built on Jan. 31, 2025, 2:59 p.m.