library(shellpipes)
library(varpred)
loadEnvironments()
varpred_mc <- (varpred(fit, "age", at=list(age=focal), modelname="varpred")
|> as.data.frame()
)
head(varpred_mc)
saveVars(varpred_mc, hhsize_mean)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.