plot_overlap_sig: Plot results of significance tests for niche overlap analyses

View source: R/plot_overlap_sig.R

plot_overlap_sigR Documentation

Plot results of significance tests for niche overlap analyses

Description

plot_overlap_sig helps to create a plot to interpret results from statistical significance tests in overlap analyses.

Usage

plot_overlap_sig(object, niches = c(1, 2), main = "",
                 xlab = "Overlap", ylab = "Frequency",
                 breaks = 30, bar_col = "gray65",
                 cl_col = "darkgreen", observed_col = "blue",
                 cl_lty = 2, observed_lty = 1, cl_lwd = 2,
                 observed_lwd = 2, xlim = NULL)

Arguments

object

overlap_ellipsoid object resulted from using the function ellipsoid_overlap.

niches

(numeric) pair of integer numbers denoting the niches for which results will be plotted. Default = c(1, 2).

main

(character) plot main title, default = "".

xlab

(character) label of x axis, default = "Overlap".

ylab

(character) label of y axis, default = "Frequency".

breaks

type of breaks as in hist, default = 30.

bar_col

color of histogram bars, default = "gray65".

cl_col

color of confidence limit line, default = "darkgreen".

observed_col

color of line representing observed value of overlap, default = "blue".

cl_lty

type of line for confidence limit, default = 2.

observed_lty

type of line for observed value of overlap, default = 1.

cl_lwd

thickness of line for confidence limit, default = 2.

observed_lwd

thickness of line for observed value of overlap, default = 2.

xlim

limits of x axis, the default, NULL, derives limits from data.

Value

A plot with results from tests of statistical significance.


marlonecobos/ellipsenm documentation built on Oct. 18, 2023, 8:09 a.m.