new_importance_weights()
is a developer oriented function for constructing
a new importance weights vector. Generally, you should use
importance_weights()
instead.
Examples
new_importance_weights()
#> <importance_weights[0]>
new_importance_weights(c(1.5, 2.3, 10))
#> <importance_weights[3]>
#> [1] 1.5 2.3 10.0