bp.means: Estimate back-projected means and standard deviations

Description Usage Arguments Value Note Author(s) References Examples

Description

Estimates the group means (or differences between groups), raw standard deviations, and back-projection error-corrected standard deviations for a set of data

Usage

1
bp.means(x, f, center = FALSE)

Arguments

x

a numeric data matrix or data frame, or (if f is missing) a list of a data matrix and a grouping variable

f

a grouping factor the same length as x

center

center data set at zero?

Value

mean or meandiff

group means or differences between group means for each variable

sd.raw

standard deviations of the means or of the differences between the means, without correction for back-projection error

sd.corr

standard deviations corrected for back-projection error

Note

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
x = simdata()
bp.means(x)

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