print.AnovaMix: Print method for objects of class(AnovaMix)

Description Usage Arguments Note Author(s) See Also Examples

Description

Prints relevant information like the ANOVA table, variance components and errors.

Usage

1
2
## S3 method for class 'AnovaMix'
print(x, ...)

Arguments

x

AnovaMix object to be printed.

...

Additional arguments (not supported yet).

Note

Only balanced models are fully supported.

Author(s)

Kristian Hovde Liland

See Also

AnovaMix, lm, Anova

Examples

1
2
3
4
5
mixlm <- lm(y~x*r(z),
			data = data.frame(y = rnorm(8),
							  x = factor(c(rep(1,4),rep(0,4))),
							  z = factor(rep(c(1,0),4))))
Anova(mixlm,type="III")

Example output

Attaching package: 'mixlm'

The following objects are masked from 'package:stats':

    glm, lm

Analysis of variance (unrestricted model)
Response: y
          Mean Sq Sum Sq Df F value Pr(>F)
x           0.419  0.419  1   0.170 0.7511
z           0.006  0.006  1   0.002 0.9699
x:z         2.464  2.464  1   2.616 0.1811
Residuals   0.942  3.768  4       -      -

            Err.term(s) Err.df VC(SS)
1 x                 (3)      1  fixed
2 z                 (3)      1 -0.615
3 x:z               (4)      4  0.761
4 Residuals           -      -  0.942
(VC = variance component)

          Expected mean squares
x          (4) + 2 (3) + 4 Q[1]
z          (4) + 2 (3) + 4 (2) 
x:z        (4) + 2 (3)         
Residuals  (4)                 

mixlm documentation built on May 2, 2019, 6:08 p.m.

Related to print.AnovaMix in mixlm...