print.gresponse.dmm: Print method for object of class 'gresponse.dmm'.

Description Usage Arguments Details Value Author(s) See Also Examples

Description

Prints overall responses only.

Usage

1
2
## S3 method for class 'gresponse.dmm'
print(x, ...)

Arguments

x

An object of class gresponse.dmm.

...

Ellipsis argumnet.

Details

This is a simple printout of overall response estimates. 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(), summary.gresponse.dmm().

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
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)
# compute some response estimates, use all the defaults
sheep.resp <- gresponse(sheep.fit1,psd=list(dp=c(1,1,1)))
# print these
print(sheep.resp)
## Not run: 
# can do the same thing without saving response object
gresponse(sheep.fit1,psd=list(dp=c(1,1,1)))
# so this is the default print method for an object of class 'gresponse.dmm'

## End(Not run)
#cleanup
rm(sheep.fit1)
rm(sheep.resp)
rm(sheep.mdf)
rm(sheep.df)


Search within the dmm package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.