max-HistDat-method: Calculates the largest observation in the histogram dataset

Description Usage Arguments Value Examples

Description

Calculates the largest observation in the histogram dataset

Usage

1
2
## S4 method for signature 'HistDat'
max(x, ..., na.rm = FALSE)

Arguments

x

An instance of the class HistDat

...

Passed verbatim to base::max()

na.rm

Passed verbatim to base::max()

Value

A numeric of length 1, holding the largest observation in the dataset

Examples

1
2
hd <- HistDat(vals = 1:3, counts = c(1, 2, 1))
max(hd) # returns 3

HistDat documentation built on April 6, 2021, 9:08 a.m.