new_case_weights() is a developer oriented function for constructing a new
case weights type. The
<case_weights> type itself is an abstract type
with very little functionality. Because of this,
class is a required
new_case_weights(x, ..., class)
An integer or double vector.
Name-value pairs defining attributes
Name of subclass.
A new subclassed case weights vector.
new_case_weights(1:5, class = "my_weights")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.