robustify: Robustify a smoothbp_fit object using a Bayesian Sandwich...

View source: R/robustify.R

robustifyR Documentation

Robustify a smoothbp_fit object using a Bayesian Sandwich approach

Description

Robustify a smoothbp_fit object using a Bayesian Sandwich approach

Usage

robustify(object, cluster, ...)

Arguments

object

A smoothbp_fit object.

cluster

String naming the column in object$data defining the clusters (e.g., Subject ID).

...

Unused.

Value

A new smoothbp_fit object where the MCMC draws have been affinely transformed to match the robust clustered covariance matrix.


smoothbp documentation built on June 14, 2026, 9:06 a.m.