| createRmd {FactoInvestigate} | R Documentation | 
Create Rmarkdown file
Description
Intialise a Rmarkdown file in which to write the results of the package functions.
Usage
createRmd(res, analyse = "PCA", file = "", 
          document = c("word_document", "pdf_document", "html_document"))
Arguments
| res | an object of class PCA, CA or MCA. | 
| analyse | A character string corresponding to the method for which the Rmd is created | 
| file | the file path where to write the description in Rmarkdown langage. If the file already exists, its content is overwritten. If not specified, the description is written in the console. | 
| document | a character vector giving the document format desired between "word_document", "pdf_document" and "html_document". | 
Author(s)
Simon Thuleau and Francois Husson
See Also
Examples
## Not run: 
data(decathlon)
res.pca = PCA(decathlon, quanti.sup = c(11:12), quali.sup = c(13), graph = FALSE)
createRmd(res.pca, file = "PCA.Rmd", document = "pdf_document")
data(children)
res.ca = CA(children, row.sup = 15:18, col.sup = 6:8, graph = FALSE)
createRmd(res.ca, file = "CA.Rmd", document = "html_document")
data(tea)
res.mca = MCA(tea, quanti.sup = 19,quali.sup = 20:36, graph = FALSE)
createRmd(res.mca, file = "MCA.Rmd", document = c("word_document", "pdf_document"))
## End(Not run)
[Package FactoInvestigate version 1.9 Index]