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