h2o.hour {h2o} | R Documentation |
Convert Milliseconds to Hour of Day in H2O Datasets
Description
Converts the entries of an H2OFrame object from milliseconds to hours of the day (on a 0 to 23 scale).
Usage
h2o.hour(x)
hour(x)
## S3 method for class 'H2OFrame'
hour(x)
Arguments
x |
An H2OFrame object. |
Value
An H2OFrame object containing the entries of x
converted to hours of
the day.
See Also
Examples
## Not run:
library(h2o)
h2o.init()
f <- "https://s3.amazonaws.com/h2o-public-test-data/smalldata/jira/v-11-eurodate.csv"
hdf <- h2o.importFile(f)
h2o.hour(hdf["ds9"])
## End(Not run)
[Package h2o version 3.44.0.3 Index]