| get_draws {lgpr} | R Documentation |
Extract parameter draws from lgpfit or stanfit
Description
Uses extract
with permuted = FALSE and inc_warmup = FALSE.
Usage
get_draws(object, draws = NULL, reduce = NULL, ...)
Arguments
object |
An object of class lgpfit or |
draws |
Indices of the parameter draws. |
reduce |
Function used to reduce all parameter draws into
one set of parameters. Ignored if |
... |
Additional arguments to |
Value
The return value is always a 2-dimensional array of shape
num_param_sets x num_params.
See Also
Other main functions:
create_model(),
draw_pred(),
lgp(),
pred(),
prior_pred(),
sample_model()
[Package lgpr version 1.2.4 Index]