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

View source: R/summary.gresponse.dmm.R

summary.gresponse.dmmR Documentation

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 class 'gresponse.dmm'
summary(object, ...)

Arguments

object

An object of class gresponse.dmm.

...

Ellipsis argumnet.

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.

Value

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

Author(s)

Neville Jackson

See Also

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

Examples


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)

dmm documentation built on July 26, 2023, 5:23 p.m.