[[<-,VirtualArray,ANY-method {via}R Documentation

Replace elements of 'VirtualArray'-class objects.

Description

Double bracket '[[' refers to layers' name in the names of the @stack member of the 'VirtualArray'. Use single brackets to replace elements based on their position in the 'VirtualArray'-class object.

Usage

## S4 replacement method for signature 'VirtualArray,ANY'
x[[i]] <- value

Arguments

x

Object from a class derived from VirtualArray.

i

subscript of layers to replace.

value

character vector.

Value

The function has no return value.


[Package via version 0.2.0 Index]