plus_replicate: plus_replicate

Description Usage Arguments Value

View source: R/plus_replicate.R

Description

Replicate sim_plus calls, potentially in parallel. Can also replicate mdp_learning and mdp_planning simulation calls

Usage

1
plus_replicate(reps, expr, ...)

Arguments

reps

number of replicates to simulate

expr

expression to replicate; must return a

...

additional arguments to mclapply, such as mc.cores

Value

Same structure as returned by the given expression (e.g. sim_plus), but with replicates appended as additional rows, with an indicator column


boettiger-lab/pomdpplus documentation built on Jan. 29, 2018, 3:59 a.m.