plot_nelder: Plot a Nelder Fan experimental design

Description Usage Arguments Value Author(s) See Also Examples

View source: R/plot.R

Description

Plots a Nelder Fan experimental design.

Usage

1
2
3
4
5
6
7
8
9
plot_nelder(
  data,
  size = 3,
  fill.palette = c("black", "white"),
  species = TRUE,
  legend = FALSE,
  ex.area = FALSE,
  caption = FALSE
)

Arguments

data

An object of class 'nelder' created via nelder.

size

A numeric value indicating point size.

fill.palette

A character vector of length 2 indicating the fill colors of different species.

species

Logical indicating whether or not to plot species as differnet colors (see nelder_biculture).

legend

Logical indicating whether or not to include a legend for fill colors.

ex.area

Logical indicating whether or not and example growing area of one plant should be shown.

caption

Logical indicating whether or not to include a caption with generic data about the design.

Value

A ggplot2 object.

Author(s)

Kevin J Wolz, kevin@savannainstitute.org

See Also

Other plot functions: plot_fitness_trajectory(), plot_goelz(), plot_nelder_biculture_competition()

Examples

1
2
3
4
5
6
7
dat <- nelder(DN         = 1000,
              D1         = 3000,
              N          = 5,
              tau        = 1,
              even       = TRUE,
              max.angle  = 360)
plot_nelder(data = dat)

kevinwolz/sysdesign documentation built on June 13, 2020, 1:35 a.m.