View source: R/general_functions.R
thin_csv_or_rds | R Documentation |
thins a csv or rds file, saves it with new name, optionally deletes old file
thin_csv_or_rds(filename, thin, save_as_rds, remove_after)
filename |
character vector of length 1: with .csv or .rds extension |
thin |
numeric vector of length 1 (must be in integer if not integer format): thin every this many iterations |
save_as_rds |
logical vector of length 1: if TRUE, save thinned chain as rds regardless of extension of filename; if FALSE, save as original extension |
remove_after |
logical vector of length 1: remove old file if TRUE |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.