Description Usage Arguments Value Examples
View source: R/predict_two_part.R
Prediction method for two part fitted objects
1 2 3 4 5 6 7 8 9 10 |
object |
fitted "hd2part" model object |
newx |
Matrix of new values for |
s |
Value(s) of the penalty parameter lambda for the zero part at which predictions are required. Default is the entire sequence used to create the model. |
model |
either |
type |
Type of prediction required. |
newoffset |
f an offset is used in the fit, then one must be supplied for making predictions |
... |
not used |
An object depending on the type argument
1 | set.seed(1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.