draw.ecospace: Draws ecospace with species response surface for two...

Description Usage Arguments Author(s) See Also Examples

Description

Draws ecospace with species response surface for two dimensional simulated data

Usage

1
2
3
4
draw.ecospace(sampled.comm, resolution = 200, colors = NULL,
  species = NULL, sort = TRUE, asp = 1, sample.pch = 3,
  sample.cex = 0.5, species.pch = 16, species.cex = 1,
  xlab = "gradient 1", ylab = "gradient 2", axes = T, box = T, ...)

Arguments

sampled.comm

Object with simulated community data created by sample.comm.2 function.

resolution

Number of items drawn vertically and horizontally. Default = 200.

colors

Vector of hexadecimal strings of colors used to draw individual species response surfaces. Each element should be 7 characters long, starting with "#" (e.g. "#8DD3C7"). Default is a vector of 12 colors created by pallete "Set3" from library (RColorBrewer).

species

Vector with ID's of species drawn into plot. Default = NULL, which means all species are drawn.

sort

Should be species sorted before drawing, so as the species with largest area in the plot are drawn first? Default = TRUE.

asp

Aspect ratio of the plotted region (see argument asp in plot.window).

sample.pch, sample.cex

Plotting character and its size for points showing location of samples in ecospace. See pch and cex in function points.

species.pch, species.cex

Plotting character and its size for points forming the species response surfase in the ecospace. See pch and cex in function points.

xlab, ylab

x- and y-axis labels.

axes

Logical; draw axes?

box

Logical; draw the box around plotting region?

...

Other arguments passed into the function title.

Author(s)

David Zeleny (zeleny.david@gmail.com)

See Also

simul.comm.2, sample.comm.2

Examples

1
2
library (theta)
draw.ecospace (sample.comm.2 (simul.comm.2 (totS = 100)), resolution = 100)

zdealveindy/theta documentation built on May 4, 2019, 9:13 p.m.