We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
predict.pamm <- function( object, newdata, type = c("response", "mrl", "hazard", "cumulative hazard", "survival probability"), se.type = c("direct", "sim", "delta"), ...) {}
should it have a times argument by default?
return value:
nrow(newdata)
alternatively, only allow response and mrl since other response types are covered in add_* functions
response
mrl
add_*
what if user wants the mgcv predictions, i.e. predict.gam instead of predict.pamm?
mgcv
predict.gam
predict.pamm
return types (type = ...):
type = ...
The text was updated successfully, but these errors were encountered:
[WIP] issue #139
cf742de
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).
Sorry, something went wrong.
thx @iMSQ. Could you open up a separate issue with a preprex regarding predictSurvProb
predictSurvProb
adibender
Successfully merging a pull request may close this issue.
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: