plot_resp: Plot response surface for sites.

Description Usage Arguments Details See Also

Description

plot_resp plots the response surface for the IEC score at each site in data frame sp.

Usage

1
plot_resp(sp, iec, brc, method = "pa")

Arguments

sp

community data frame (sites as rows, taxa as columns, observations as values).

iec

the output data frame from est_iec.

brc

BRC data frame generated by est_brc.

method

one of "pa" (default; CalcPA) or "q" (CalcQ).

Details

Plots are generated for each site in sp with probability on the y-axis and IEC score on the x-axis. The "best" value found by est_iec is also plotted as a vertical line. Note that sp, brc, and method must be the same as those used to generate iec using est_iec. Also, note that this function can be quite time consuming. It is generally best to save the output to an external plotting device (e.g., pdf)

See Also

est_iec, Devices


ngwalton/iec documentation built on May 23, 2019, 4:43 p.m.