| prob_vector | R Documentation |
S7 property accepting a non-empty double vector with all elements in [0, 1] and no NAs.
prob_vector
An S7 property object.
EDG
Preds <- S7::new_class("Preds", properties = list(probabilities = prob_vector))
Preds(probabilities = c(0, 0.5, 1))@probabilities
try(Preds(probabilities = c(0.5, NA)))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.