lmdme-printshow: 'Show', 'Print' or 'Summary' a lmdme object

Description Usage Arguments Value Author(s) See Also Examples

Description

Generic Show/Print/Summary method for lmdme class output visualization.

Usage

1
2
3
4
5
6
7
8
  ## S4 method for signature 'lmdme'
print(x, term)

  ## S4 method for signature 'lmdme'
show(object)

  ## S4 method for signature 'lmdme'
summary(object)

Arguments

x

lmdme class object.

object

lmdme class object.

term

character with the corresponding term to return. Default value is NULL to return every decomposed term (if more than one is available).

Value

according to the call

print, show or summary:

console output text with increasing detail of lmdme object.

show or summary

console output text of the lmdme object, plus a data.frame with model decomposition summary data.

Author(s)

Cristobal Fresno and Elmer A Fernandez

See Also

lmdme, coef, resid, fitted, modelDecomposition, components, componentsType

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{
data(stemHypoxia)

##Just to make a balanced dataset in the Fisher sense (2 samples per
## time*oxygen levels)
design<-design[design$time %in% c(0.5, 1, 5) & design$oxygen %in% c(1,5,21),]
design$time<-as.factor(design$time)
design$oxygen<-as.factor(design$oxygen)
rownames(M)<-M[, 1]

##Keeping appropriate samples only
M<-M[, colnames(M) %in% design$samplename]

##ANOVA decomposition
fit<-lmdme(model=~time+oxygen+time:oxygen, data=M, design=design)
}
## Not run: 
#equivalent to call show(fit)
fit
print(fit)
summary(fit)

## End(Not run)

lmdme documentation built on Nov. 8, 2020, 7:46 p.m.