pwRDA {segRDA}R Documentation

Piecewise redundancy analysis (pwRDA)

Description

Perform a pwRDA using the specified breakpoints

Usage

pwRDA(x.ord, y.ord, BPs, n.rand = 99)

Arguments

x.ord

ordered explanatory matrix

y.ord

ordered community matrix

BPs

community breakpoints

n.rand

The number of randomizations for significance computation

Value

Returns an invisible list of length 4:

  1. ..$summ: summary statistics of the pwRDA analysis;

  2. ..$rda.0: full model cca object, which is described separately in vegan::cca.object

  3. ..$rda.pw: pw model cca object, which is described separately in vegan::cca.object

Author(s)

Danilo Candido Vieira

Examples

data(sim1)
sim1o<-OrdData(sim1$envi,sim1$comm)


w50<-SMW(sim1o$yo, ws=50)
sim1.pw<-pwRDA(sim1o$xo,sim1o$yo, BPs=bp(extract(w50)))


[Package segRDA version 1.0.2 Index]