trend {SIPETool}R Documentation

Trend finder

Description

This function takes as input a vector and returns the trend of each column expressed as the difference between two consecutive elements

Usage

trend(dat)

Arguments

dat

the vector to analyze

Value

vector containing the trend of the each column

Examples

trend(c(1:10,10:1,1:10,10:1,1:10,10:1,1:10,10:1,1:10,10:1))


[Package SIPETool version 0.1.0 Index]