Description Usage Arguments Value Examples
The function cuts a specified number of layers off a RrasterStack in order to create lagged RasterStacks.
1  | 
data | 
 a RasterStack  | 
tail | 
 logical. If   | 
lag | 
 the number of layers to take away.  | 
a RasterStack shortened by lag either from the
beginning or the end, depending on the specification of tail
1 2 3 4 5 6  | data(australiaGPCP)
# 6 layers from the beginning
cutStack(australiaGPCP, tail = FALSE, lag = 6)
# 8 layers from the end
cutStack(australiaGPCP, tail = TRUE, lag = 8)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.