Generate RMD command to include a table from a dataframe

Allows to generate RMD code to include a table defined by a dataframe. To include a table from a table text file, please use the function rmdTABLE.

rmdTABLEDF(
  df,
  caption = NULL,
  fontsize = 10,
  label = NULL,
  ignoreCaption = FALSE,
  valueTable = FALSE,
  footertext = NULL
)

Arguments

df

Dataframe to export as table in RMD.

caption

Caption for the table.

fontsize

Integer value for the fontsize.

label

Character string to be used for cross-referencing.

ignoreCaption

Caption can be ignored if desired (no caption will be shown for table)

valueTable

Defines is table can be used as a "Value Table", allowing to reference values in the table. A value table requires the presence of a "value" and a "label" column. If these are not present, an error will occur.

footertext

Defined text for the table footer.

Value

Inline table command as IQRrmd object