plot.eDNA_simulation: Plot method for eDNA simulations

Description Usage Arguments Details Value Author(s)

View source: R/plot.R

Description

Plot method for eDNA simulations

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
## S3 method for class 'eDNA_simulation'
plot(
  x,
  y,
  response = "Cq_star",
  probs = c(0.025, 0.975),
  alpha = 0.1,
  jitter_width = 0.35,
  ...
)

Arguments

x

object of class eDNA_simulation

y

ignored

response

the response variable to plot

probs

the probability for plotting CIs

alpha

the alpha value, i.e. transparancy, of the points

jitter_width

the width of the jitter applied to the points

...

ignored

Details

Plot method for eDNA simulations which creates a separate plot of the simulated CQ values by each of the variables, i.e. a plot of the marginal distributions. Each plot is returned in a list of gglot objects, each of which can be further augmented. By default, the points are semi-transparant and jittered to reduce overplotting.

Value

a list of ggplots

Author(s)

Matt Espe


artemis documentation built on Sept. 9, 2021, 1:07 a.m.