dewlap_kruskal: Perform Kruskal Wallis test on each island

Description Usage Arguments Value Author(s)

View source: R/dewlap_kruskal.R

Description

This function tests for differences in one or several dependent variables between habitats on each island. P-values are adjusted. The procedure is non-parametric and is rank-based.

Usage

1
dewlap_kruskal(specdata, vars, method = "bonferroni")

Arguments

specdata

A data frame containing at least columns for the dependent variables, as well as a column "island" and a column "habitat".

vars

A character or integer vector. The names, or indices, of the dependent variables in specdata.

method

A character, the method used for P-value correction. See ?p.adjust.

Value

A table showing each pair of habitats that differed significantly in mean.

Author(s)

Raphael Scherrer


rscherrer/sagreicolor documentation built on May 26, 2019, 12:32 p.m.