View source: R/summary.gresponse.dmm.R
summary.gresponse.dmm | R Documentation |
gresponse.dmm
.
Summarizes path specific, sex specific, and overall responses in a gresponse.dmm
object, adding appropriate headings.
## S3 method for class 'gresponse.dmm'
summary(object, ...)
object |
An object of class |
... |
Ellipsis argumnet. |
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.
There is no return value. Function is used for its side effects.
Neville Jackson
Functions gresponse.dmm()
, print.gresponse.dmm()
.
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.