results: collect observed, modelled, and imputed counts from TRIM...

View source: R/trim_post.R

resultsR Documentation

collect observed, modelled, and imputed counts from TRIM output

Description

collect observed, modelled, and imputed counts from TRIM output

Usage

results(z)

Arguments

z

TRIM output structure (i.e., output of a call to trim)

Value

A data.frame, one row per site-time combination, with columns for site, year, month (optionally), observed counts, modelled counts and imputed counts. Missing observations are marked as NA.

See Also

Other analyses: coef.trim(), confint.trim(), gof(), index(), now_what(), overall(), overdispersion(), plot.trim.index(), plot.trim.overall(), plot.trim.smooth(), serial_correlation(), summary.trim(), totals(), trendlines(), trim(), vcov.trim(), wald()

Examples

data(skylark)
z <- trim(count ~ site + time, data=skylark, model=2);
out <- results(z)

rtrim documentation built on June 22, 2024, 10:39 a.m.