as_STOMobs | R Documentation |
Method to convert an object of class data.frame into an object of class STOMobs.
as_STOMobs(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 (PRED) data set in STOMobs. which were added the call to as.data.frame() |
new_prey_var |
Variable names to be added to the prey (PREY) data set in STOMobs |
STOMobs object
## Not run: a<-as_STOMobs(df); a
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.