as.docx: Coerce to docx

Description Usage Arguments Details Value Methods (by class) See Also Examples

Description

Coerces to docx

Coerces docx to docx.

Coerces data.frame to docx

Coerces partab to docx.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
as.docx(x, ...)

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

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

## S3 method for class '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

Details

Returns the object.

Value

docx

docx

docx

docx

Methods (by class)

See Also

link{as.docx.data.frame}

docx

addFlexTable

FlexTable

Examples

1
2
3
library(magrittr)
options(project = system.file('project/model',package='partab'))
1001 %>% as.partab %>% as.docx %>% as.file('1001.docx')

bergsmat/partab documentation built on May 12, 2019, 3:09 p.m.