coef.pdSRM: Extract model coefficients from pdSRM object

Description Usage Arguments Value Examples

Description

This is used internally as part of the construction of the pdSRM object that will fit the appropriate structure for the SRM.

Usage

1
2
## S3 method for class 'pdSRM'
coef(object, unconstrained = TRUE, ...)

Arguments

object

an object inheriting from pdSRM

unconstrained

a logical value. If TRUE the coefficients are returned in unconstrained form. If FALSE the upper triangular elements are returned

...

additional arguments

Value

a vector with the coefficients corresponding to object

Examples

1
2
3
4
5
6
7
## Not run: 
o = lme(liking ~ 1, random=list(groupId=pdBlocked(list(pdIdent(~1),
pdSRM(~-1 + a1 + a2 + a3 + a4 + p1 + p2 + p3 + p4)))),
correlation=corCompSymm(form=~1 | groupId/pdSRM_dyad_id),
data=d, na.action=na.omit)

## End(Not run)

andrewpknight/roundRobinR documentation built on Dec. 19, 2021, 3:34 a.m.