powered by
Calculates the weights of all input entries. All entries should take values in [0,1].
w_quad(x)
Any number, vector of matrix.
Weight of each element
# NOT RUN { w_quad(0.95) w_quad(cbind(c(.7,.8),c(.9,.1))) # }
Run the code above in your browser using DataLab