bracket {kazaam}R Documentation

subsetting

Description

Subsetting via `[` for shaq objects.

Usage

## S4 method for signature 'shaq'
x[i, j]

## S4 replacement method for signature 'shaq'
x[i, j, ...] <- value

Arguments

x

A shaq.

i, j

Indices. NOTE currently only implemented for j values.

...

Ignored.

value

Replacement value(s) for the [<- method. This can either be an appropriately sized numeric value or a shaq. See the details section for more information.

Value

A shaq.

Communication

Each operation is completely local.

Examples

## Not run: 
library(kazaam)
x = ranshaq(runif, 10, 3)
y = x[, -1]
y

finalize()

## End(Not run)


[Package kazaam version 0.1-0 Index]