table_rtf function

Read NONMEM output into a list.

Read NONMEM output into a list.

table_rtf generates an RTF table from a data frame.

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.

Returns

An RTF table based on the data frame provided.

Examples

## Not run: scm <- read_scm("E:/DrugX/ModelDevelopment/scm310") myRTF <- table_rtf(scm$forwardSummary) ## End(Not run)

References

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

Author(s)

John Johnson, johndjohnson@gmail.com

  • Maintainer: Justin Wilkins
  • License: GPL-2
  • Last published: 2023-02-21