Learn R Programming

h2o (version 3.8.1.3)

h2o.dayOfWeek: Convert Milliseconds to Day of Week in H2O Datasets

Description

Converts the entries of an H2OFrame object from milliseconds to days of the week (on a 0 to 6 scale).

Usage

h2o.dayOfWeek(x)

dayOfWeek(x)

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

Arguments

x
An H2OFrame object.

Value

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

See Also

h2o.day, h2o.month