Description Usage Arguments Author(s) Examples
Combining ecogen objects by row
1 |
... |
"ecogen" objects to combine. |
check_colnames |
Check for duplicated column names? Default TRUE. |
check_rownames |
Check for duplicated row names? Default TRUE. |
Leandro Roser learoser@gmail.com
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | ## Not run:
data(eco.test)
# split the object "eco" into a list of ecogen objects by population
x <- eco.split(eco, "pop", asList = TRUE)
# re-bind the objects
eco.r <- eco.rbind(eco)
# create a new objects with the first and second population
eco.r <- eco.rbind(x[[1]], x[[3]])
# duplicated row names are not allowed by eco.rbind with default options
eco2 <- eco
eco.rbind(eco, eco2)
eco.rbind(eco, eco2,check_rownames = FALSE)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.