Learn R Programming

h2o (version 3.6.0.8)

h2o.year: Convert Milliseconds to Years in H2O Datasets

Description

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

Usage

h2o.year(x)

year(x)

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

Arguments

x
An H2O Frame object.

Value

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