Learn R Programming

nonmemica (version 0.7.4)

as.docx: Coerce to docx

Description

Coerces to docx.

Coerces docx to docx.

Coerces data.frame to docx

Coerces partab to docx.

Usage

as.docx(x, ...)

# S3 method for docx as.docx(x, ...)

# S3 method for data.frame as.docx(x, title = "untitled", template, empty_template = FALSE, list.definition = getOption("ReporteRs-list-definition"), ...)

# S3 method for partab as.docx(x, title = "parameter table", template, empty_template = FALSE, list.definition = getOption("ReporteRs-list-definition"), ...)

Arguments

x

object of dispatch

...

arguments to methods

title

passed to docx

template

passed to docx

empty_template

passed to docx

list.definition

passed to docx

Value

docx

docx

docx

docx

Methods (by class)

  • docx: docx method

  • data.frame: data.frame method

  • partab: partab method

Details

Returns the object.

See Also

as.docx.data.frame

docx

addFlexTable

FlexTable

Examples

Run this code
# NOT RUN {
library(magrittr)
options(project = system.file('project/model',package='nonmemica'))
1001 %>% partab %>% as.docx %>% as.file('1001.docx')
# }

Run the code above in your browser using DataLab