table_rtf: Read NONMEM output into a list.

Description Usage Arguments Value Author(s) References Examples

View source: R/table_rtf.R

Description

table_rtf generates an RTF table from a data frame.

Usage

1
2
3
4
5
6
7
8
table_rtf(
  df,
  outFile = NULL,
  rtfFile = TRUE,
  boldHeader = TRUE,
  rowNames = FALSE,
  ...
)

Arguments

df

A data frame.

outFile

A filename for writing the table to. If NULL, writes to console.

rtfFile

If TRUE (the default), then add RTF tabs to generate a fully formatted RTF file.

boldHeader

If TRUE, make the header bold.

rowNames

If TRUE, include row names in the table. Default is FALSE.

...

Other formatting options for the table body.

Value

An RTF table based on the data frame provided.

Author(s)

John Johnson, johndjohnson@gmail.com

References

https://www.r-bloggers.com/another-solution-to-the-r-to-word-table-problem/

Examples

1
2
3
4
5
## Not run: 
scm <- read_scm("E:/DrugX/ModelDevelopment/scm310")
myRTF <- table_rtf(scm$forwardSummary)

## End(Not run)

pmxTools documentation built on Aug. 27, 2020, 1:10 a.m.