number_proportion: kctest

Description Usage Arguments Value Examples

View source: R/number_proportion_func.R

Description

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

Usage

1
2
3

Arguments

vector
group

of number in vector

Value

vector

a matrix of the numbers and their proportion values

Examples

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)

kelichiu/kctest documentation built on July 7, 2020, 12:09 a.m.