ez.report | R Documentation |
This function generate an nice html/docx report from ez.results.
ez.report(html = NULL)
html |
Logical. Must the output be an html document (TRUE) or a MS word document (FALSE) |
ez.report is used for the generation of the report of a session.
The function return the HTML/MS word page of the object produced by knitr.
Nicolas Stefaniak
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.