View source: R/get.predicted.probability.R
This function makes life simple by automatically retrieving predicted probability of logistic regression and random forest.
1 | get.predicted.probability(model, test.data, indep)
|
model |
a logistic regression or random forest model |
test.data |
a data frame of testing dataset |
indep |
a vector for independent variables |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.