Description Usage Arguments Value Author(s) Examples
Prediction function for objects of the StratSel
class. Provides either predictions for all observations in a model or for a specified profile. In addition, the function will either predict an outcome or three probabilities (indicating the probability for each outcome).
1 2 |
object |
An object of class |
prob |
Logical. If |
profile |
Vector. A vector defining a specific profile for which the prediction is made. |
... |
... |
Either a matrix with dimension n * m
, where there are n
observations in the original model and m
is three (for the three possible outcomes) or it will be a vector with n
elements indicating for each observation which the most likely outcome would be.
Lucas Leemann lleemann@gmail.com
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.