dewlap_manova: Multivariate analysis of variance (MANOVA) of dewlap color

Description Usage Arguments Value Author(s)

View source: R/dewlap_manova.R

Description

This function performs a two-way MANOVA of dewlap color data cross islands and habitats. It can also perform multiple two-way ANOVAs, one on each dependent variable (equivalent to the dewlap_anova function).

Usage

1
dewlap_manova(specdata, vars, perVariable = T)

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.

perVariable

Logical. Whether to perform multiple two-way ANOVAs, one on each dependent variable. Defaults to TRUE.

Value

The MANOVA table is returned. The multiple ANOVAs, if applicable, are printed to the command prompt.

Author(s)

Raphael Scherrer


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