doubleBracketReplace: Replace elements of "VirtualArray"-class objects.

[[<-,VirtualArray,ANY-methodR 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.


via documentation built on May 31, 2023, 8:31 p.m.