f_from_log {sarsop} | R Documentation |
f from log
Description
Read transition function from log
Usage
f_from_log(meta)
Arguments
meta |
a data frame containing the log metadata
for each set of alpha vectors desired, see
|
Details
note this function is unique to the fisheries example problem and assumes that sarsop call is run with logging specifying a column "model" that contains either the string "ricker" (corresponding to a Ricker-type growth function) or "allen" (corresponding to an Allen-type.)
Value
the growth function associated with the model indicated.
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)
[Package sarsop version 0.6.15 Index]