View source: R/new_functions.R
get_trends | R Documentation |
Calculates trends over time in climate and weather variables or climate departures
get_trends(dat, trend.type)
dat |
a matrix where each row is a cell or site and each column is a year |
trend.type |
a character vector indicating whether a Theil-Sen ("sen") or 'slope slope' ("ols") estimate should be returned |
a numeric vector equal to the number of rows (cells or sites) in dat
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.