bp.contrasts: Estimate back-projected contrasts

Description Usage Arguments Value Note Author(s) References Examples

Description

Estimates contrasts with back-projection error incorporated; this can include estimates of the mean values of each group

Usage

1

Arguments

formula

a formula

Value

A table of estimated values, standard errors, t values, and p values for each variable, with the standard errors etc. adjusted to allow for back-projection error

Note

Use x~f-1 (i.e., fit a model without an intercept) to get the values of each group rather than differences among them. It is the USER'S RESPONSIBILITY to check that the groups in the data actually share a common principal component!

Author(s)

Ben Bolker

References

Flury

Examples

1
2
3
4
5
6
7
X = simdata(offset=100)
## commented out because hanging in checks
## Not run: 
with(X,bp.contrasts(data~f))
with(X,bp.contrasts(data~f-1))

## End(Not run)

bbolker/cpcbp documentation built on May 11, 2019, 9:28 p.m.