h2o.dayOfWeek | R Documentation |
Converts the entries of an H2OFrame object from milliseconds to days of the week (on a 0 to 6 scale).
h2o.dayOfWeek(x)
dayOfWeek(x)
## S3 method for class 'H2OFrame'
dayOfWeek(x)
x |
An H2OFrame object. |
An H2OFrame object containing the entries of x
converted to days of
the week.
h2o.day, h2o.month
## 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.dayOfWeek(hdf["ds9"])
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.