Description Usage Arguments Value
Function to simulate sampling of potential diet source populations across a set of values for the size of the sample. Largely a convenience function to run 'samplesources' across multiple values of sample size.
1 2 3 4 5 6 7 8 | samplesourcesvector(
n_vec,
food,
filepath = NULL,
writefile = T,
returnobject = F,
...
)
|
n_vec |
numeric, vector of sample sizes for sampling from diet sources. |
food |
list object of simulated food sources. |
writefile |
boolean, whether to write the csv to file needed by MixSIAR default is TRUE. Passed to 'savesources'. |
returnobject |
boolean, whether to return an object within the current environment, default is FALSE. Passed to 'savesources' |
filename |
name of file to save. Passed to 'savesources'. |
Saves diest source sampled isotope distributions to files of format used by 'MixSIAR'
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.