Methods for extracting information from fitted NNGP model of class
NNGP
and predict.NNGP
objects from predict
.
# S3 method for NNGP
summary(object, sub.sample, quantiles = c(0.025, 0.25,
0.5, 0.75, 0.975), digits = max(3L, getOption("digits") - 3L), ...)
# S3 method for NNGP
print(x, ...)
# S3 method for predict.NNGP
print(x, ...)
object of class NNGP
or predict.NNGP
.
an optional list that specifies the samples to included in
the summary or composition sampling. Valid tags are start
,
end
, and thin
. Given the value associated with the tags,
the sample subset is selected using seq(as.integer(start),
as.integer(end), by=as.integer(thin))
. The default values are
start=floor(0.5*n.samples)
, end=n.samples
and thin=1
.
for summary
, posterior distribution quantiles to compute.
for summary
, number of digits to report in summary.
currently not used.
A set of standard extractor functions for fitted model objects of
class NNGP
and prediction object of class predict.NNGP
, including methods to the generic functions print
and summary
.