updateTrend: Recalculate posterior predictive trend with a different time...

Description Usage Arguments

Description

Given a fitted model object (fit with 'keep.site.abund=TRUE') the function recalculates the posterior sample for an alternate time scale than was originally specified in the model fitting MCMC sample.

Usage

1
updateTrend(x, start, end, type = "pred", order = "lin")

Arguments

x

An mcmc augmentation object produced by a call to mcmc.aggregate or an element of the list produced by a call to newAggregation.

start

A new start value for the time span

end

A new end value for the time span

type

The type of trend calculated. Use "pred" for posterior predictive trends and "real" to use the estimated, realized abumndance aggregation.

order

The order of trend calculated. Can be one of "lin", for linear trends, or, "const", for mean log-abundence.


NMML/agTrend documentation built on May 7, 2019, 6:02 p.m.