powered by
Finds frequencies of unique observed values.
x.weight(x)
observations for which frequencies (or weights) of unique values are to be found.
vector of distinct and sorted observations.
vector of observation weights.
# NOT RUN { x.weight(c(5:1,1,3)) # }
Run the code above in your browser using DataLab