Learn R Programming

SIPETool (version 0.1.0)

trend: 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)

Value

vector containing the trend of the each column

Arguments

dat

the vector to analyze

Examples

Run this code
trend(c(1:10,10:1,1:10,10:1,1:10,10:1,1:10,10:1,1:10,10:1))

Run the code above in your browser using DataLab