c.STOMobs | R Documentation |
Method to combine many datasets
## S3 method for class 'STOMobs'
c(...)
... |
STOMobs objects to put together. |
This function combines STOMobs objects by dplyr::bind_rows
using each of the
two components of the objects.
The method is useful when reading large amounts of data in small chunks.
If the same stomach_id is present within different datasets the method will stop.
If a variable name is only present in some of the datasets, the variable will be
added to the remaining datasets (filled with NA) and a warning will be triggered.
The control attributes from the first STOMobs will be used for the resulting combined STOMobs.
The R-Code is modified from the DATRAS R-package (Thanks to Casper Berg)
Combined dataset of class STOMobs.
## Not run: ab<-c(a,b)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.