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