View source: R/meta_from_log.R
meta_from_log | R Documentation |
load metadata from a log file
meta_from_log(
parameters,
log_dir = ".",
metafile = paste0(log_dir, "/meta.csv")
)
parameters |
a data.frame with the desired parameter values as given in metafile |
log_dir |
path to log directory |
metafile |
path to metafile index, assumed to be meta.csv in log_dir |
a data.frame with the rows of the matching metadata.
# takes > 5s
source(system.file("examples/fisheries-ex.R", package = "sarsop"))
log = tempfile()
alpha <- sarsop(transition, observation, reward, discount, precision = 10,
log_dir = log)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.