![]() ![]() WriteDoc(doc, "r-reporters-powerpoint.pptx" ) The species are Iris setosa, versicolor, and virginica.")ĭoc <- addSlide(doc, "Content with Caption")ĭoc <- addTitle(doc, "R Script for histogram plot")ĭoc <- addPlot(doc, function() hist(iris$Sepal.Width, col=4)) ![]() Title(main = "Death Rates in Virginia", font.main = 4)ĭoc <- addFlexTable(doc, FlexTable(iris ))ĭoc <- addParagraph(doc, "iris data set gives the measurements in centimeters of the variables sepal length and width and petal length and width, respectively, for 50 flowers from each of 3 species of iris. Legend = rownames(VADeaths), ylim = c(0, 100)) The R code below creates a PowerPoint document with a title slide, plots, tables, and an R script : library( ReporteRs )ĭoc <- addTitle(doc,"Create a PowerPoint document from R software")ĭoc <- addSubtitle(doc, "R and ReporteRs package")ĭoc <- addSlide(doc, "Title and Content")Ĭol = c("lightblue", "mistyrose", "lightcyan", Generate a simple PowerPoint document from R software ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |