Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

H2OFrame-Extract

Extract or Replace Parts of an H2OFrame Object


Description

Operators to extract or replace parts of H2OFrame objects.

Usage

## S3 method for class 'H2OFrame'
data[row, col, drop = TRUE]

## S3 method for class 'H2OFrame'
x$name

## S3 method for class 'H2OFrame'
x[[i, exact = TRUE]]

## S3 method for class 'H2OFrame'
x$name

## S3 method for class 'H2OFrame'
x[[i, exact = TRUE]]

## S3 replacement method for class 'H2OFrame'
data[row, col, ...] <- value

## S3 replacement method for class 'H2OFrame'
data$name <- value

## S3 replacement method for class 'H2OFrame'
data[[name]] <- value

Arguments

data

object from which to extract element(s) or in which to replace element(s).

row

index specifying row element(s) to extract or replace. Indices are numeric or character vectors or empty (missing) or will be matched to the names.

col

index specifying column element(s) to extract or replace.

drop

Unused

x

An H2OFrame

name

a literal character string or a name (possibly backtick quoted).

i

index

exact

controls possible partial matching of [[ when extracting a character

...

Further arguments passed to or from other methods.

value

To be assigned


h2o

R Interface for the 'H2O' Scalable Machine Learning Platform

v3.32.1.2
Apache License (== 2.0)
Authors
Erin LeDell [aut, cre], Navdeep Gill [aut], Spencer Aiello [aut], Anqi Fu [aut], Arno Candel [aut], Cliff Click [aut], Tom Kraljevic [aut], Tomas Nykodym [aut], Patrick Aboyoun [aut], Michal Kurka [aut], Michal Malohlava [aut], Ludi Rehak [ctb], Eric Eckstrand [ctb], Brandon Hill [ctb], Sebastian Vidrio [ctb], Surekha Jadhawani [ctb], Amy Wang [ctb], Raymond Peck [ctb], Wendy Wong [ctb], Jan Gorecki [ctb], Matt Dowle [ctb], Yuan Tang [ctb], Lauren DiPerna [ctb], Tomas Fryda [ctb], H2O.ai [cph, fnd]
Initial release
2021-04-29

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.