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