[.Watershed | R Documentation |
S3 methods for watersheds
## S3 method for class 'Watershed' x[i, j, ...] ## S3 method for class 'Watershed' names(x) head.Watershed(x, ...) ## S3 method for class 'Watershed' summary(x, ...) ## S3 method for class 'Watershed' plot(x, variable, transform, size = 0.5, xlim, ylim, viridis_col = "inferno")
x |
A watershed object |
i |
A vector of pixel IDs |
j |
Variable names or column numbers to extract |
... |
Additional parameters to pass to other methods (usually from [data.frame] or [SpatialPointsDataFrame]) |
variable |
Optional, name of variable to plot |
transform |
A transformation function (e.g., 'log') to apply to the variable |
size |
Size of the plotted points |
xlim |
Optional x-axis limits |
ylim |
Optional y-axis limits |
A data.frame of the watershed data
A vector of variable names
As [head.data.frame()]
As [summary.data.frame()]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.