h2o (version 3.2.0.3)

h2o.year: Convert Milliseconds to Years in H2O Datasets

Description

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

Usage

h2o.year(x)

year(x)

## S3 method for class 'H2OFrame': year(x)

Arguments

x
An H2OFrame object.

Value

  • A 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