View source: R/trendAnalysis.R
summary.trend | R Documentation |
Computes a trend or index estimate for each time point in the survey.
## S3 method for class 'trend'
summary(object, ciBase = NULL, alpha = 0.05, ...)
object |
A trend object returned by |
ciBase |
A time point or function used to compute the baseline of the trend.
If the argument is numeric, the point in the |
alpha |
alpha level for approximate confidence intervals. |
... |
Not used. |
For a smooth or loglinear trend model the function computes an estimate of the trend value for each time point in the survey. By default, the reference value is the first time point. Note that if the trend model was fitted with random effects, the random effects are not included in the estimate. Thus the estimate refers to the long-term component.
For an index trend model the index at each time point is computed.
If bootstrap samples are available, bootstrap confidence intervals for the trend or index values are also computed.
Jonas Knape
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.