powered by
[
cropr_simulation
This method ensure keeping the cropr_simulation attribute when subsetting a cropr_simulation list.
# S3 method for cropr_simulation [(x, ...)
A subset of a cropr_simulation, keeping its attribute
A cropr_simulation list
An index
path <- file.path(get_examples_path("sti"), "workspace1") sim <- SticsRFiles::get_sim(workspace = path) # sim returns a `cropr_simulation` list
Run the code above in your browser using DataLab