totable {eoffice}R Documentation

write table out to pptx or docx

Description

write table out to pptx or docx

Usage

totable(data, filename, format = NULL, append = FALSE)

Arguments

data

datasets

filename

output filename

format

pptx or docx

append

append into file

Author(s)

Kai Guo

Examples

tt <- t.test(wt ~ am, mtcars)
totable(tt, filename = file.path(tempdir(), "mtcars.pptx"))
totable(t.test(wt ~ am, mtcars), filename = file.path(tempdir(), "mtcars.pptx"))
totable(head(mtcars), filename = file.path(tempdir(), "mtcars.docx"))

[Package eoffice version 0.2.2 Index]