Description Usage Arguments Details Value
Predict the risk of the outcome using the input plpModel for the input plpData
1 | predictPlp(plpModel, population, plpData, index = NULL)
|
plpModel |
An object of type |
population |
The population created using createStudyPopulation() who will have their risks predicted |
plpData |
An object of type |
index |
A data frame containing rowId: a vector of rowids and index: a vector of doubles the same length as the rowIds. If used, only the rowIds with a negative index value are used to calculate the prediction. |
The function applied the trained model on the plpData to make predictions
A dataframe containing the prediction for each person in the population with an attribute metaData containing prediction details.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.