Learn R Programming

rtrim (version 2.1.1)

results: 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(), serial_correlation(), summary.trim(), totals(), trim(), vcov.trim(), wald()

Examples

Run this code
# NOT RUN {
data(skylark)
z <- trim(count ~ site + time, data=skylark, model=2);
out <- results(z)
# }

Run the code above in your browser using DataLab