Learn R Programming

toscca (version 0.1.0)

getWhich: Get location of required.

Description

Get location of required.

Usage

getWhich(data, fun)

Value

Returns value matching function fun.

Arguments

data

Numeric matrix.

fun

Function to search data.

Examples

Run this code
getWhich(rnorm(100), max)

Run the code above in your browser using DataLab