Description Usage Arguments Details Value Examples
This function finds the sum of counts that the x-sample observations is greater than or less than the ones from the y-sample.
1 | freq.less(x, y)
|
x, y |
x and y are numerical vectors of different subsamples. The length of the two vectors can vary. |
When there is a tie between any pair of observations, 0.5 is added to the count. Missing value is allowed. Missing value is only added to the calculation when it is compared with another missing value from the other subsample.
Two values are returned: less.count and more.count. The first one is the total count that the observations in x-sample is less than the ones from the y-sample, and the second output is the total count that the observations in x-sample is more than the ones from the y-sample. When there is a tie, 0.5 is added to the count, instead of 1 or 0.
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.