-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
S3 predict function for pamm objects #139
Labels
Comments
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 |
thx @iMSQ. Could you open up a separate issue with a preprex regarding |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
should it have a times argument by default?
return value:
nrow(newdata)
alternatively, only allow
response
andmrl
since other response types are covered inadd_*
functionswhat if user wants the
mgcv
predictions, i.e.predict.gam
instead ofpredict.pamm
?return types (
type = ...
):The text was updated successfully, but these errors were encountered: