summary.pdSRM: Summarize a pdSRM Object

View source: R/summary.pdSRM.R

summary.pdSRMR Documentation

Summarize a pdSRM Object

Description

Internal method that produces a summary.pdMat representation of a pdSRM object, used by lme when printing model output.

Usage

## S3 method for class 'pdSRM'
summary(object, structName = "Social Relations Model", ...)

Arguments

object

an object inheriting from pdSRM

structName

a character string describing the covariance structure; defaults to "Social Relations Model"

...

optional arguments passed to other methods

Value

an object of class summary.pdMat with additional attributes structName and noCorrelation

Examples


d <- createDummies(
  group.id = "groupId", act.id = "actId", part.id = "partId",
  d = sampleDyadData[sampleDyadData$timeId == 1, ],
  merge.original = TRUE
)
o <- nlme::lme(
  liking ~ 1,
  random = list(groupId = nlme::pdBlocked(list(
    nlme::pdIdent(~1),
    pdSRM(~ -1 + a1 + a2 + a3 + a4 + p1 + p2 + p3 + p4)
  ))),
  correlation = nlme::corCompSymm(form = ~1 | groupId / pdSRM_dyad_id),
  data = d,
  na.action = stats::na.omit
)


roundRobinR documentation built on Sept. 18, 2026, 1:06 a.m.