fix_family_rd: Fix $rd() slot of a mgcv family

View source: R/fix_family_rd.R

fix_family_rdR Documentation

Fix $rd() slot of a mgcv family

Description

Fix $rd() slot of a mgcv family.

Usage

fix_family_rd(fam)

Arguments

fam

an mgcv family

Examples

library(mgcvUtils)
set.seed(525)
dat <- gamSim(1,n=400,dist="normal",scale=2)
b <- gam(list(y~s(x0),~s(x1),~1),data=dat,family=gevlss)

head( simulate(b, nsim = 2) )


dill/mgcvUtils documentation built on Oct. 14, 2024, 7:30 p.m.