Learn R Programming

h2o (version 2.8.4.4)

tolower.H2OParsedData: Transform Elements of a Character Vector Into Lower Case

Description

tolower.H2OParsedData, a method for the tolower base method. Obtain and returns an H2OParsedData object.

Usage

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

Arguments

x
An H2OParsedData object with a single factor column.

Value

  • An object of class "H2OParsedData".

Details

Converts alphabetic characters from upper to lower case in the English locale. Non-alphabetic characters are left unchanged.

Examples

Run this code
library(h2o)
localH2O <- h2o.init(ip = "localhost", port = 54321, startH2O = TRUE)
df <- data.frame(
    V1 = c("HELLO WoR@&^LD", "the dOg ATE", "my friENd BOb Ace", "mEow meOW"),
    V2 = c(92318, 34891.123, 21,99))
hex <- as.h2o(localH2O, df)
tolower(hex$V1)

Run the code above in your browser using DataLab