Learn R Programming

h2o (version 3.40.0.4)

h2o.day: Convert Milliseconds to Day of Month in H2O Datasets

Description

Converts the entries of an H2OFrame object from milliseconds to days of the month (on a 1 to 31 scale).

Usage

h2o.day(x)

day(x)

# S3 method for H2OFrame day(x)

Value

An H2OFrame object containing the entries of x converted to days of the month.

Arguments

x

An H2OFrame object.

See Also

h2o.month

Examples

Run this code
if (FALSE) {
library(h2o)
h2o.init()

f <- "https://s3.amazonaws.com/h2o-public-test-data/smalldata/jira/v-11-eurodate.csv"
hdf <- h2o.importFile(f)
h2o.day(hdf["ds9"])
}

Run the code above in your browser using DataLab