Check a vector of weights
Throws an error if wtvec
is not n
positive numbers, and
return wtvec
(stripped of any dim
atrribute)
wtcheck(n, wtvec)
n |
the required length of |
wtvec |
an object to be checked |
a vector of n
positive numbers
wtcheck(3, 1:3) wtcheck(2, matrix(1:2, 2))
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.