methods: S3 methods for watersheds

[.WatershedR Documentation

S3 methods for watersheds

Description

S3 methods for watersheds

Usage

## 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")

Arguments

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

Value

A data.frame of the watershed data

A vector of variable names

As [head.data.frame()]

As [summary.data.frame()]


mtalluto/WatershedTools documentation built on May 21, 2022, 7:49 p.m.