nn1: Get N/N(1) ratio

Description Usage Arguments Value Examples

View source: R/nn1.R

Description

Get N/N(1) ratio

Usage

1
nn1(x)

Arguments

x

a vector of integers

Value

the value of each integer divided by the number of integers equal to 1

Examples

1
nn1(c(10,6,3,2,2,2,1,1,1,1,1,1))

jalapic/hierformR documentation built on May 18, 2019, 11:18 a.m.