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, as well as weights (if applicable)

Description

collect observed, modelled, and imputed counts from TRIM output, as well as weights (if applicable)

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 and imputed counts, and weights 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 Nov. 10, 2026, 9:06 a.m.