Learn R Programming

lmdme (version 1.14.0)

print: Show, Print or Summary a lmdme object

Description

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

Usage

"print"(x, term)
"show"(object)
"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.

See Also

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

Examples

Run this code
{
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)

Run the code above in your browser using DataLab