Learn R Programming

ffmanova (version 1.1.1)

orth_D: Making adjusted design matrix data

Description

The function takes the output from modelData as input and calculates adjusted data

Usage

orth_D(D, model, method)

Arguments

D

A list containing a regressor matrix for each model term

model

The model coded as a matrix

method

Either "test" or "om"

Value

An adjusted version of D is returned.

Details

The "test" method adjusts data according to Type II* sums of squares. This is an extension of the traditional Type II method. The "om" method orthogonalises terms according to the model hierarchy. The result is a non-overparameterised representation of the model.