Learn R Programming

h2o (version 3.8.3.3)

h2o.year: Convert Milliseconds to Years in H2O Datasets

Description

Convert the entries of an H2OFrame object from milliseconds to years, indexed starting from 1900.

Usage

h2o.year(x)
year(x)
"year"(x)

Arguments

x
An H2OFrame object.

Value

An H2OFrame object containig the entries of x converted to years starting from 1900, e.g. 69 corresponds to the year 1969.

Details

This method calls the function of the MutableDateTime class in Java.

See Also

h2o.month