summary.simplesimint: Detailed print out for simplesimint objects

Description Usage Arguments Value Examples

View source: R/simplesimint.R

Description

Produce a detailed print out for objects of class "simplesimint".

Usage

1
2
## S3 method for class 'simplesimint'
summary(object, ...)

Arguments

object

an object of class "simplesimint" as can be obtained by calling simplesimint

...

further arguments to be passed to print

Value

Print

Examples

 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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
library(multcomp)
data(waste)

anova(lm(waste ~ temp*envir, data=waste))

# a cell-means model instead
# of a two-way-layout

fit <- lm(waste ~ 0 + temp:envir, data=waste)

COEF <- coef(fit)
VCOV <- vcov(fit)

DF <- fit$df.residual

IAC <- IAcontrasts(type=c("Identity", "Dunnett"), k=c(5,3))
IACn <- c2compnames(IAC)

SCI<- simplesimint(coef=COEF, vcov=VCOV, df=DF, cmat=IACn)

# the print function just gives this:

SCI

# the summary function produces some more output:

summary(SCI)

###############


IAC <- IAcontrasts(type=c("Identity", "Dunnett"), k=c(5,3))

# long names currently give nasty outputs!

colnames(IAC)<-names(COEF)

IACn <- c2compnames(IAC)

SCI<- simplesimint(coef=COEF, vcov=VCOV, df=DF, cmat=IACn)

SCI

# the summary function produces some more output:

summary(SCI)

BSagri documentation built on May 29, 2017, 10:49 p.m.

Search within the BSagri package
Search all R packages, documentation and source code