Learn R Programming

hacksaw (version 0.0.2)

var_max: Return the indices of n max values of a variable

Description

Return the indices of n max values of a variable

Usage

var_max(var, n = 6)

Arguments

var

the variable to use.

n

number of rows to return.

Examples

Run this code
# NOT RUN {
var_max(1:10)
# }

Run the code above in your browser using DataLab