trend {SIPETool} | R Documentation |
This function takes as input a vector and returns the trend of each column expressed as the difference between two consecutive elements
trend(dat)
dat |
the vector to analyze |
vector containing the trend of the each column
trend(c(1:10,10:1,1:10,10:1,1:10,10:1,1:10,10:1,1:10,10:1))