Description Usage Arguments Value Examples
View source: R/number_proportion_func.R
This number_proportion() function takes a group of numbers and caculates the proportion of each number to the sum of all the numbers
This number_proportion() function takes a group of numbers and caculates the proportion of each number to the sum of all the numbers
1 2 3 | number_proportion(numbers)
number_proportion(numbers)
|
vector |
|
group |
of number in vector |
vector
a matrix of the numbers and their proportion values
1 2 3 4 5 | numbers <- c(2, 5, 3, 9, 8, 11, 6)
kctest::number_proportion(numbers)
numbers <- c(2, 5, 3, 9, 8, 11, 6)
number_proportion(numbers)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.