formatiso: formatiso

Description Usage Arguments Value

View source: R/gettissueiso.R

Description

Convenience fucntion to format simulated consumer tissue isotope values into a dataframe with columns for d13C and d15N and each row being an indivdiual "observation". Default is to write the object to a .csv file formatted for use by 'MixSIAR' for mixture decomposition analysis, but can also return a dataframe as an object.

Usage

1
formatiso(iso, filename, writefile = T, returnobject = F)

Arguments

iso

List of simulated "sampled" C and N values for each simulated consumer. Note this should be the output from 'getiso'.

filename

String, the name of the file to be saved as a .csv.

writefile

Boolean, whether to write the .csv to file. Default is T.

returnobject

Boolean, whether to return a dataframe object. Default is F

Value

A .csv written to file and/or a dataframe object.


syanco/checkyourself documentation built on Jan. 18, 2021, 4:50 a.m.