h2o.columns_by_type {h2o} | R Documentation |
Obtain a list of columns that are specified by 'coltype'
Description
Obtain a list of columns that are specified by 'coltype'
Usage
h2o.columns_by_type(object, coltype = "numeric", ...)
Arguments
object |
H2OFrame object |
coltype |
A character string indicating which column type to filter by. This must be one of the following: "numeric" - Numeric, but not categorical or time "categorical" - Integer, with a categorical/factor String mapping "string" - String column "time" - Long msec since the Unix Epoch - with a variety of display/parse options "uuid" - UUID "bad" - No none-NA rows (triple negative! all NAs or zero rows) |
... |
Ignored |
Value
A list of column indices that correspond to "type"
Examples
## Not run:
h2o.init()
prostate_path <- system.file("extdata", "prostate.csv", package = "h2o")
prostate <- h2o.uploadFile(path = prostate_path)
h2o.columns_by_type(prostate, coltype = "numeric")
## End(Not run)
[Package h2o version 3.44.0.3 Index]