score_new_data | R Documentation |
Based on the models built, score a new data. Probability will be calculated as the model scores.
score_new_data(model = model, newdata = newdata, ID = ID, file = file)
model |
The model generated by lrm_model. |
newdata |
A new data to be scored |
ID |
The ID variable in the data. |
file |
The file name to save the model probabilities and the segments. |
.
model.score <- score_new_data(model = model.final, newdata = newdata, ID = "BOOK_ID", file = "modelscores.xlsx")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.