which.max: Generic which.max function

Description Usage Arguments Methods (by class) Note

View source: R/which.R

Description

The function is needed, because which.max of base R is not generic.

Usage

1
2
3
4
which.max(x, ...)

## Default S3 method:
which.max(x, ...)

Arguments

x

an R object.

...

further arguments passed to or from methods.

Methods (by class)

Note

As recommended in Section 7.1 ("Adding new generics") of "Writing R Extensions", the implementation of which.max.default has been made a wrapper around base::which.max.


andreas50/uts documentation built on April 8, 2021, 10:03 a.m.