new_importance_weights()
is a developer oriented function for constructing
a new importance weights vector. Generally, you should use
importance_weights()
instead.
new_importance_weights(x = double(), ..., class = character())
A new importance weights vector.
A double vector.
Name-value pairs defining attributes
Name of subclass.
new_importance_weights()
new_importance_weights(c(1.5, 2.3, 10))
Run the code above in your browser using DataLab