| optional_pos_double_scalar | R Documentation |
S7 property accepting NULL or a single finite double strictly greater than zero.
optional_pos_double_scalar
An S7 property object.
EDG
Penalty <- S7::new_class(
"Penalty",
properties = list(gamma = optional_pos_double_scalar)
)
Penalty()@gamma
Penalty(gamma = 2)@gamma
try(Penalty(gamma = Inf))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.