Description Usage Arguments Examples
Extract a subset of objects from container classes such as
ExpVarRasterList
, PredictiveModelList
, PredictionList
and
PerformanceList
.
1 2 3 4 5 6 7 8 9 10 11 |
x |
an object of class |
subset |
integer or character indicating the objects to be extracted |
... |
additional arguments (none) |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | ## Sibuyan Island
## load observed land use data
obs <- ObsLulcRasterStack(x=sibuyan$maps,
pattern="lu",
categories=c(1,2,3,4,5),
labels=c("Forest","Coconut","Grass","Rice","Other"),
t=c(0,14))
summary(obs)
obs <- subset(obs, subset=names(obs)[1])
summary(obs)
## load explanatory variables
ef <- ExpVarRasterList(x=sibuyan$maps, pattern="ef")
summary(ef)
ef <- subset(ef, subset=1:5)
summary(ef)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.