manova: Compute 1- or 2-way MANOVA estimates

manovaR Documentation

Compute 1- or 2-way MANOVA estimates

Description

Given either a tuple of sum-of-squares matrices or a dataframe, computes MANOVA estimates for the covariances

Usage

manova_1way(Mw, r, Mb, n)

manova_2way_mat(M1, I1, M2, I2, M3, I3)

manova_2way_df(df, ...)

Arguments

Mw, Mb

Sum-of-squares within and between matrices.

r, n

Number individuals per group and groups.

M1, M2, M3

Sum-of-squares matrices within sire, dam and individual groups.

I1, I2, I3

Number of sires, dams per sire and individuals per dam.

df

Data frame for 2-way design.

...

Other arguments.

Value

A list with entries

  • in the one-way case: Sb, Sw, which are the estimates of the between-groups and within-groups covariance matrices.

  • in the two-way case: S1, S2 and S3, which are the estimates of the sires, dams and individual covariance matrices.

See Also

manova_2way for generic version.


damian-t-p/halfsibdesign documentation built on March 14, 2023, 4:55 a.m.