[.cropr_simulation {SticsRFiles}R Documentation

[ method for cropr_simulation

Description

This method ensure keeping the cropr_simulation attribute when subsetting a cropr_simulation list.

Usage

## S3 method for class 'cropr_simulation'
x[...]

Arguments

x

A cropr_simulation list

...

An index

Value

A subset of a cropr_simulation, keeping its attribute

Examples

path <- file.path(get_examples_path("sti"), "workspace1")
sim <- SticsRFiles::get_sim(workspace = path)
# sim returns a `cropr_simulation` list


[Package SticsRFiles version 1.4.0 Index]