Description Usage Arguments Value Examples
This function is called internally by other functions. It is a wrapper for
the function write.xlsx
of the package openxlsx.
1 |
table |
The dataframe to be exported as *.xlsx |
table_basename |
A string indicating the base name for the file to be created. |
first_column_name |
A string indicating the name of the first column which is taken from the row names of the table |
typeTab |
A character specifying what type of table to output: 'LRT' for a table with likelihood-ratio statistics and random variances, 'efSizes' for a table with estimated effect sizes and their standard errors, and 'heterog' for a table of heterogeneity metrics. |
The table (but the return is invisible).
1 2 3 4 5 6 7 | d <- data.frame(test = 1:5, id = LETTERS[1:5],
a= seq(from = 0.01, to = 0.05, by = 0.01),
test = 1:5, id = LETTERS[1:5],
p = c('<0.001', '0.002', '0.260', '<0.001', '0.987'))
dir.create('tables')
save_xlsx(table = d, table_basename = './tables/test1',
typeTab = 'LRT')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.