Open adibender opened 4 years ago
FYI, predictSurvProb() function (page 28, https://cran.r-project.org/web/packages/pammtools/pammtools.pdf) doesn't work with gam objects (pamm fitted model by mgcv::gam). Now it works with gaussian family implemented for glm only (https://rdrr.io/cran/pec/src/R/predictSurvProb.R).
thx @iMSQ. Could you open up a separate issue with a preprex regarding predictSurvProb
nrow(newdata)
response
andmrl
since other response types are covered inadd_*
functionsmgcv
predictions, i.e.predict.gam
instead ofpredict.pamm
?type = ...
):