Usage
## S3 method for class 'sns':
predict(object, fpred
, nburnin = max(nrow(object)/2, attr(object, "nnr"))
, end = nrow(object), thin = 1, ...)
## S3 method for class 'predict.sns':
summary(object
, quantiles = c(0.025, 0.5, 0.975)
, ess.method = c("coda", "ise"), ...)
## S3 method for class 'summary.predict.sns':
print(x, ...)
Arguments
object
Object of class "sns" (output of sns.run
) or "predict.sns" (output of predict.sns
). fpred
Prediction function, accepting a single value for the state vector and producing a vector of outputs.
nburnin
Number of burn-in iterations discarded for sample-based prediction.
end
Last iteration used in sample-based prediction.
thin
One out of thin
iterations within the specified range are used for sample-based prediction.
quantiles
Values for which sample-based quantiles are calculated.
ess.method
Method used for calculating effective sample size. Default is to call effectiveSize
from package coda
.
x
An object of class "summary.predict.sns".
...
Arguments passed to/from other functions.