bru_summarise {inlabru} | R Documentation |
Summarise and annotate data
Description
Summarise and annotate data
Usage
bru_summarise(
data,
probs = c(0.025, 0.5, 0.975),
x = NULL,
cbind.only = FALSE,
max_moment = 2
)
Arguments
data |
A list of samples, each either numeric or a |
probs |
A numeric vector of probabilities with values in |
x |
A |
cbind.only |
If TRUE, only |
max_moment |
integer, at least 2. Determines the largest moment
order information to include in the output. If |
Value
A data.frame
or Spatial[Points/Pixels]DataFrame
with summary statistics,
"mean", "sd", paste0("q", probs)
, "mean.mc_std_err", "sd.mc_std_err"
Examples
bru_summarise(matrix(rexp(10000), 10, 1000), max_moment = 4, probs = NULL)