as.flextable: Coerce to flextable

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

View source: R/docx.R

Description

Coerces to flextable.

Coerces data.frame to flextable

Coerces partab to flextable.

Usage

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

## S3 method for class 'data.frame'
as.flextable(x, ...)

## S3 method for class 'partab'
as.flextable(x,
  body.par.props = ReporteRs::parProperties(padding = 5),
  header.par.props = ReporteRs::parProperties(padding = 5),
  inner.vertical = ReporteRs::borderProperties(style = "none"),
  inner.horizontal = ReporteRs::borderProperties(width = 1),
  outer.vertical = ReporteRs::borderProperties(width = 0),
  outer.horizontal = ReporteRs::borderProperties(width = 2), footer = TRUE,
  ...)

Arguments

x

object

...

passed to methods

body.par.props

passed to FlexTable

header.par.props

passed to FlexTable

inner.vertical

passed to setFlexTableBorders

inner.horizontal

passed to setFlexTableBorders

outer.vertical

passed to setFlexTableBorders

outer.horizontal

passed to setFlexTableBorders

footer

passed to setFlexTableBorders

Details

Calls the data.frame method and adds remaining arguments. Pass zero-length values (e.g. NULL) to suppress.

Value

flextable

flextable

Methods (by class)

See Also

docx

addFlexTable

FlexTable

docx

addFlexTable

FlexTable

docx

addFlexTable

FlexTable


bergsmat/partab documentation built on May 11, 2017, 7:21 a.m.