Learn R Programming

h2o (version 2.8.4.4)

h2o.year: Convert Milliseconds to Years in H2O Dataset

Description

Converts the entries of a H2OParsedData object from milliseconds to years, indexed starting from 1900.

Usage

h2o.year(x)

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

Arguments

x
An H2OParsedData object

Value

  • A H2OParsedData object containing the entries of x converted to years starting from 1900, e.g. 69 corresponds to the year 1969.

Details

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

See Also

h2o.month