# Record that the first observation has 10 replicates, the second has 12
# replicates, and so on
frequency_weights(c(10, 12, 2, 1))
# Fractional values are not allowed
try(frequency_weights(c(1.5, 2.3, 10)))
Run the code above in your browser using DataLab