M: Method to generate hypothesis matrices from formulas

Description Usage Arguments Methods (by class) See Also

Description

Interprets a formula to generate the corresponding portion of a hypothesis matrix. See examples in Lfx. Creates an 'M' object with methods to generate coefficients to estimate interaction terms and comparisons of factor levels.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
M(x, ...)

## S3 method for class 'formula'
M(form, ..., keep.intercept = FALSE)

## S3 method for class 'factor'
M(x, base = NULL)

## S3 method for class 'M'
M(x, ...)

## Default S3 method:
M(x, ...)

## S3 method for class 'M'
e1 * e2

## S3 method for class 'factor'
x < y

## S3 method for class 'factor'
x > y

## S3 method for class 'factor'
x <= y

## S3 method for class 'factor'
x >= y

Arguments

...

other arguments

form

formula

keep.intercept

(default: FALSE) if TRUE generate a column for the intercept term

Methods (by class)

See Also

Lfx


gmonette/yscs documentation built on May 17, 2019, 7:28 a.m.