h2o.topBottomN: H2O topBottomN

View source: R/frame.R

h2o.topBottomNR Documentation

H2O topBottomN

Description

topBottomN function will will grab the top N percent or botom N percent of values of a column and return it in a H2OFrame.

Usage

h2o.topBottomN(x, column, nPercent, grabTopN)

Arguments

x

an H2OFrame

column

is a column name or column index to grab the top N percent value from

nPercent

a top percentage values to grab

grabTopN

if -1 grab bottom percentage, 1 grab top percentage

Value

An H2OFrame with 2 columns: first column is the original row indices, second column contains the values


h2o documentation built on May 29, 2024, 4:26 a.m.