plot2dCors: Plot correlations between 2d indirect and 1d direct gradients

Description Usage Arguments

Description

Plot correlations between 2d indirect and 1d direct gradients

Usage

1
2
3
4
5
plot2dCors(xIndirect, xDirect, .seed = 1, plotArgs = list(las = 1, xlim =
  c(-1, 1), ylim = c(-1, 1), xlab = "", ylab = ""), nullPtArgs = list(pch =
  16, cex = 0.2, col = rgb(1, 0, 0, 0.2)), xPtArgs = list(pch = 16, cex = 0.2,
  col = rgb(0, 0, 1, 0.02)), nullContArgs = list(lwd = 3, col = "red", cont =
  95), xContArgs = list(lwd = 3, col = "blue", cont = 95))

Arguments

xIndirect

posterior distribution of indirect gradient values (MCMC iterations-by-sites-by-2 axes array)

xDirect

direct gradient (vector with same length as second dimension of xIndirect)

.seed

random seed for generation of the null correlations

plotArgs

list of arguments for setting up the plotting region

nullPtArgs

list of arguments for plotting correlations from a null distribution

xPtArgs

list of arguments for plotting correlations with direct gradient

nullContArgs

list of arguments for plotting null distribution contour

xContArgs

list of arguments for plotting contour


stevencarlislewalker/ecoBayesIRT documentation built on May 30, 2019, 4:42 p.m.