max_rep: 'max_rep' Find the element that repeats the most in a given...

Description Usage Arguments Value

View source: R/max_rep.R

Description

max_rep Find the element that repeats the most in a given vector and calculate its proportion.

Usage

1

Arguments

v

a vector

Value

max_rep_value contains two elements: max_element and max_element_proportion. max_element is the element that repeats the most in v, and max_element_proportion is its proportion.


CDSeq documentation built on Feb. 10, 2021, 5:07 p.m.