View source: R/stylo_replicate.R
stylo_replicate | R Documentation |
stylo
.Replicate a logged stylometric analysis or create and log
a reproducible analysis with stylo
.
stylo_replicate(
date_time = NULL,
log_label = NULL,
add_dir_date = FALSE,
log_date = Sys.Date(),
...
)
date_time |
The date and time of a previously-logged
analysis to reproduce. If |
log_label |
A label added to the directory holding data for replication. Default value is "stylo_log". |
add_dir_date |
Add the date to the log_label.
Default value is |
log_date |
Specify a date to use when logging the current work. Default value is the current date. |
... |
other arguments passed to |
stylo_replicate()
might add directories and files
within the working directory to cache parameters.
## Not run:
# Run stylo() and log the process
my_data <- stylo_replicate() # in lieu of stylo()
my_data %>% stylo2gg()
# Reproduce previous work from logged parameters
reproduced_data <- stylo_replicate("2023-01-27 13:46:26")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.