Learn R Programming

dmm (version 2.1-7)

summary.gresponse.dmm: Summary method for object of class gresponse.dmm.

Description

Summarizes path specific, sex specific, and overall responses in a gresponse.dmm object, adding appropriate headings.

Usage

# S3 method for gresponse.dmm
summary(object, ...)

Value

There is no return value. Function is used for its side effects.

Arguments

object

An object of class gresponse.dmm.

...

Ellipsis argumnet.

Author

Neville Jackson

Details

This is a summary of response estimates and the parameters used to calculate them. It includes path specific, sex specific and overall responses. There are no standard errors or confidence limits for response estimates.

See Also

Functions gresponse.dmm(), print.gresponse.dmm().

Examples

Run this code

library(dmm)
data(sheep.df)
sheep.mdf <- mdf(sheep.df,pedcols=c(1:3),factorcols=c(4:6),ycols=c(7:9),
             sexcode=c("M","F"),relmat=c("E","A"))
# make a simple fit object - OLS-b only
sheep.fit1 <- dmm(sheep.mdf, Ymat ~ 1 + Year + Sex,
   components=c("VarE(I)","VarG(Ia)"))
# compute some response estimates, use all the defaults
sheep.resp <- gresponse(sheep.fit1,psd=list(dp=c(1,1,1)))
# summarize these
summary(sheep.resp)
#cleanup
rm(sheep.fit1)
rm(sheep.resp)
rm(sheep.mdf)
rm(sheep.df)

Run the code above in your browser using DataLab