Learn R Programming

dave (version 2.0)

speedprof: Plotting velocity profiles of multivariate time series

Description

From a multivariate time series of vegetation data this first computes a distance matrix (vegdist, euclidean). The first plot is a graphical representation of the full distance matrix, the second a profile of change per time step of different length (velocity).

Usage

speedprof(veg, timescale, orders, y = 1, adjust,...)
speedprof2(veg, timescale, orders, y = 1, adjust)

# S3 method for default speedprof(veg, timescale, orders, y = 1, adjust,...) # S3 method for speedprof plot(x,...)

Arguments

veg

This is a vegetation data frame, releves are rows, species columns. Releves are considered a time series.

timescale

A vector of points in time of releves (rows)

orders

Orders used for printing the velocity profile, i.e., the number of time steps used for calculating speed (rate of change per time unit).

y

Transformation of species scores: x'= x exp(y)

adjust

Parameter adjust=TRUE re-scales releves to vector sum=100 percent (assuming cover

x

An object of class "speedprof".

Parameter out.seq, the plotting interval

Value

An object of class "SNPsm" with at least the following items:

nrel

The number of releves

dmatrix

The distance matrix

timescale

The time scale

orders

Time step lengths considered for plotting the profile

References

Wildi, O. 2017. Data Analysis in Vegetation Ecology. 3rd ed. CABI, Oxfordshire, Boston.

Examples

Run this code
# NOT RUN {
orders<- c(1,2,3,4)
o.spp<- speedprof(tveg,tsit$Year,orders,y=1.0,adjust=TRUE)
plot(o.spp)
# }

Run the code above in your browser using DataLab