peach
and pall
, collecting the
output in a data.frame
papply(fun, verb = 1, pre = "", ...)
fun
should be a vector, matrix
or data.frame
logical
indicating whether progress statements
should be printed to the screencharacter
prefix used in the progress print
statements; ignored if verb = 0
fun
fun
apply
family of
function to particles, intended to be used with the particles created
by PL
. Perhaps the most common use of this function is
in obtaining samples form the posterior predictive distribution, i.e.,
with the user supplied fun = pred.GP
The particles applied over must be present in the global variables
pall
, containing sufficient information common to all
particles, peach
, containing sufficient information
particular to each particle, as constructed by PL
PL
, pred.GP
## See the demos via demo(package="plgp") and the examples
## section of ?plgp
Run the code above in your browser using DataLab