Learn R Programming

h2o (version 3.38.0.1)

is.character: Check if character

Description

Check if character

Usage

is.character(x)

Arguments

x

An H2OFrame object

Examples

Run this code
if (FALSE) {
library(h2o)
h2o.init()

f <- "https://s3.amazonaws.com/h2o-public-test-data/smalldata/coxph_test/heart.csv"
heart <- h2o.importFile(f)

heart["transplant"] <- as.character(heart["transplant"])
is.character(heart["transplant"])
}

Run the code above in your browser using DataLab