Learn R Programming

populationPDXdesign (version 1.0.3)

getMode: Function to return the mode of a vector of values

Description

This is an internal function. Please use cautiously if calling directly. Returns the mode from numeric vector. Example usage: getMode(c(0,1,1))

Usage

getMode(v)

Arguments

v

vector of numeric values

Value

a numeric value