R/frame.R
bottomN function will will grab the bottom N percent of values of a column and return it in a H2OFrame. Extract the top N percent of values of a column and return it in a H2OFrame.
h2o.bottomN(x, column, nPercent)
x | an H2OFrame |
---|---|
column | is a column name or column index to grab the top N percent value from |
nPercent | is a bottom percentage value to grab |
An H2OFrame with 2 columns. The first column is the original row indices, second column contains the bottomN values