meta_from_log: meta from log

View source: R/meta_from_log.R

meta_from_logR Documentation

meta from log

Description

load metadata from a log file

Usage

meta_from_log(
  parameters,
  log_dir = ".",
  metafile = paste0(log_dir, "/meta.csv")
)

Arguments

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

Value

a data.frame with the rows of the matching metadata.

Examples

 # takes > 5s

source(system.file("examples/fisheries-ex.R", package = "sarsop"))
log = tempfile()
alpha <- sarsop(transition, observation, reward, discount, precision = 10,
                log_dir = log)



sarsop documentation built on Jan. 10, 2023, 5:16 p.m.

Related to meta_from_log in sarsop...