Description Usage Arguments Value Author(s)

View source: R/plot_residuals.R

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).

1 | ```
plot_residuals(specdata, vars)
``` |

`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 |

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

Raphael Scherrer

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

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.