as_STOMdiet | R Documentation |
Method to convert an object of class data.frame into an object of class STOMdiet.
as_STOMdiet(d, new_pred_var, new_prey_var)
d |
Stomach data set on data.frame format. d must have been created from a call to of class as.data.frame(). |
new_pred_var |
Variable names to be added to the Predator data set in STOMdiet. which were added the call to as.data.frame() |
new_prey_var |
Variable names to be added to the prey data set in STOMdiet |
STOMdiet object
## Not run: a<-as_STOMdiet(df); head(a)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.