plot_residuals: Plot residuals of dewlap color

Description Usage Arguments Value Author(s)

View source: R/plot_residuals.R

Description

This function plots the residuals of a set of dependent variables across islands and habitats. Residuals are taken as the deviation from the group mean. Residuals are plotted against group means (fitted values).

Usage

1
plot_residuals(specdata, vars)

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.

Value

Nothing. Just one (or more) scatter plot(s).

Author(s)

Raphael Scherrer


rscherrer/sagreicolor documentation built on Dec. 26, 2018, 1:15 p.m.