eco.correlog-methods: globalplot

Description Usage Arguments Author(s) See Also Examples

Description

Plot method for correlograms and variograms

Usage

1
2
3
4
5
## S4 method for signature 'eco.correlog,ANY'
plot(x)

## S4 method for signature 'eco.correlog'
show(object)

Arguments

x

Result of correlogram or variogram analysis.

var

Variable to plot for multiple analyses with eco.correlog (see examples).

Author(s)

Leandro Roser learoser@gmail.com

See Also

eco.correlog eco.cormantel eco.variogram

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
## Not run: 

data(eco.test)

# single Moran's I correlogram analysis
moran.example <- eco.correlog(Z=eco[[P]][,1], eco$XY, smax=10, size=1000)
plot(moran.example)

# multiple Moran's I correlogram analysis
moran.example2 <- eco.correlog(Z=eco[[P]], eco$XY, smax=10, size=1000)
plot(moran.example2, var ="P2")
plot(moran.example2, var ="P3")

corm <- eco.cormantel(M = dist(eco[[P]]), size=1000,smax=7, XY = eco$XY,
nsim = 99)
plot(corm)

variog <- eco.variogram(Z = eco[[P]][, 2],XY =  eco$XY)
plot(variog)

## End(Not run)

EcoGenetics documentation built on July 8, 2020, 5:46 p.m.