| nonneg_double_vector | R Documentation |
S7 property accepting a non-empty double vector with all elements finite, greater than or equal to zero, and no NAs.
nonneg_double_vector
An S7 property object.
EDG
Importance <- S7::new_class(
"Importance",
properties = list(scores = nonneg_double_vector)
)
Importance(scores = c(0, 1.5, 3))@scores
try(Importance(scores = c(1, -1)))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.