predict | R Documentation |
blm
and lexpit
objects.Computes vector of risk predictions for the dataset used to fit the model. As with method predict.glm
, standard errors for fitted values can be requested and predictions for the covariates of the data frame newdata
can be computed rather than the default computation of all fitted values for the data frame used for model fitting.
signature(object = "blm", newdata, se = FALSE)
:
Risk predictions for fit design matrix.
signature(object = "lexpit", newdata, se = FALSE)
:
Risk predictions for fit design matrix.
Stephanie Kovalchik s.a.kovalchik@gmail.com
data(ccdata) fit <- lexpit(y~female, y~packyear, data = ccdata, weight = ccdata$w, strata = ccdata$strata) predict(fit)[1:10]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.