totable: write table out to pptx or docx

View source: R/toTable.R

totableR 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"))

eoffice documentation built on Oct. 5, 2022, 9:05 a.m.