trendAnalysis | R Documentation |
Calculate the sens.slope and MannKendall values for any time series
trendAnalysis(x)
x |
a list of type spec_tbl_df/tbl_df/tbl/data.frame that has one column with consecutive times of class 'numeric'. The time variable can also be a 'Date' class. |
# site_num is a numeric variable containing rbi values over consecutive years (year) library(easyrbi) df <- data.frame (year = seq(from = 2010, to = 2020, by = 1), site_num = seq(from = 1, to= 2, by = .1)) trendAnalysis(df$site_num)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.