build_cl2_working_gaulss: Build CL2 working representation for gaulss family
Description
Uses a pseudo-observation expansion with one pseudo-row per linear predictor
component (location and scale).
Usage
build_cl2_working_gaulss(b, cluster_id)
Value
List with `Xw`, `z`, and expanded `cluster_id`.
Arguments
- b
Fitted GAM object with `family = gaulss`.
- cluster_id
Cluster vector for original observations.