Description Usage Arguments Value Examples
Convert list to table which, optionally, is appended to existing table.
1 2 | list_table(list_name, var_name, argument = "space", merge = FALSE,
old = NA)
|
list_name |
List name [character] |
var_name |
Name of variable which contains the header of the generated table (if merge==T and var_name in names(old)) -> the system time is appended to var_name to ensure column name uniqueness) [character] |
argument |
List elements which equal this string are converted into empty rows in the final
table (see |
merge |
Whether or not to merge the generated table with an existing [logical] |
old |
Path to existing csv file with which generated table is to be merged if merge==T [path] |
Generated table [data.table]
1 2 3 4 | sample_list <- list()
sample_list$nfold <- 3
sample_list$test_prop <- 0.3
sample_list_dt <- list_table(sample_list, var_name="sample_run", merge=F )
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.