EcoGenetics (version 1.2.1-6)

eco.plotCorrelogB: eco.plotCorrelogB

Description

Plot method for bearing correlograms For examples, see eco.correlog. It constructs an angular correlogram for each distance class taken as fixed.

Usage

eco.plotCorrelogB(
  x,
  var = NULL,
  xlabel = NULL,
  ylabel = NULL,
  title = NULL,
  legend = TRUE,
  background = c("grey", "white"),
  significant.S = TRUE,
  xlim = NULL,
  ylim = NULL,
  interactivePlot = TRUE,
  alpha = 0.05
)

Arguments

x

Result of correlogram analysis, with output using angles as independent variables for fixed distances (instead of distances as independent variables)

var

Individual variable to plot; var is a number between 1 and the number of distance classes indicating the corresponding class (for example, with 5 distance classes, the number 3 indicates the third) To plot multiple variables in a same plot, use only the argument x (see examples)

xlabel

Label for X axis (default: NULL)

ylabel

Label for Y axis (default: NULL)

title

Title of the plot (default: NULL)

legend

Show legends in ggplot graphs? (default: TRUE)

background

Background color ("grey" or "white")

significant.S

With single variables and permutation test: show different colours for significant points? (default: TRUE)

xlim

X axis limits (as vector: c(min, max); default: NULL)

ylim

Y axis limits (as vector: c(min, max); default: NULL)

interactivePlot

Show an interactive plot via plotly? (default: TRUE)

alpha

significance level for P (or P-adjusted) values (Default alpha = 0.05)

See Also

eco.correlog