corrVar: (Internal) Return covariance matrix associated with a given...

View source: R/pbph-internal.R

corrVarR Documentation

(Internal) Return covariance matrix associated with a given choice of eta.

Description

For a given eta, the covariance can vary. For example, etahat or eta_0.

Usage

corrVar(
  eta,
  object,
  breadAndMeat = createBreadAndMeat(object, cluster = object$pbph$cluster)
)

Arguments

eta

Value of eta to use.

object

A pbph object.

breadAndMeat

By default, will create breadAndMeat associated with object. If speed a concern, it is faster to compute this once and pass into corrVar.

Value

A covariance matrix.


josherrickson/epb documentation built on July 6, 2023, 9:12 p.m.