plot_isospace: Plot data in the isotope space

Description Usage Arguments See Also Examples

View source: R/plot_isospace.R

Description

This function represents the data in the isotope space to overlay consumer and sources isotope values. User can also use the MixSIAR::plot_data().

Usage

1
2
3
4
5
6
7
8
plot_isospace(
  mix,
  source,
  discr,
  filename = "isospace",
  plot_save_pdf = FALSE,
  plot_save_png = FALSE
)

Arguments

mix

a named list. The output returned by the MixSIAR::load_mix_data() function and containing consumer isotope values.

source

a named list. The output returned by the MixSIAR::load_source_data() function and containing mean and standard deviation isotope values of sources (and in some case raw values).

discr

a named list. The output returned by the MixSIAR::load_discr_data() function and containing discrimination values.

filename

a character of length 1. The name of the plot file to save.

plot_save_pdf

a logical value. If TRUE, the plot is saved as pdf.

plot_save_png

a logical value. If TRUE, the plot is saved as png.

See Also

samplesim(), get_output(), plot_samplesim()

Examples

1
2
3
4
5
## Not run: 
## Please visit the vignette available at: 
## https://ahasverus.github.io/samplesim/articles/samplesim.html

## End(Not run)

ahasverus/samplesim documentation built on July 8, 2021, 11:03 a.m.