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.


kkang7/CDSeq_R_Package documentation built on May 4, 2021, 8:12 p.m.