Subsetting: Subsetting for 'worldArray' class

[[R Documentation

Subsetting for worldArray class

Description

These function similarly to [[ for RasterStack objects.

Usage

## S4 method for signature 'worldArray,ANY,ANY'
x[[i]]

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

## S4 method for signature 'worldArray'
x$name

Arguments

x

A worldArray object.

i

Index number or layer name specifying a subset of layer(s) from the worldArray.

value

A replacement worldMatrix layer for one of the current layers in the worldArray.

name

Layer name, normally without back ticks, unless has symbols.


NetLogoR documentation built on Aug. 17, 2022, 9:06 a.m.