validate_weights.Rd
Check weights argument
validate_weights(w)
The weights argument specified by user or the result of calling model.weights on a model frame.
weights
model.weights
If no error is thrown then w is returned.
w