H2OFrame-Extract: Extract or Replace Parts of an H2OFrame Object

H2OFrame-ExtractR Documentation

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 documentation built on May 29, 2024, 4:26 a.m.