| nonneg_double_scalar | R Documentation |
S7 property accepting a single finite double greater than or equal to zero, i.e. in [0, \infty).
nonneg_double_scalar
An S7 property object.
EDG
Penalty <- S7::new_class("Penalty", properties = list(alpha = nonneg_double_scalar))
Penalty(alpha = 0)@alpha
try(Penalty(alpha = -1))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.