eco.rbind: Combining ecogen objects by row

Description Usage Arguments Author(s) Examples

Description

Combining ecogen objects by row

Usage

1
eco.rbind(..., check_colnames = TRUE, check_rownames = TRUE)

Arguments

...

"ecogen" objects to combine.

check_colnames

Check for duplicated column names? Default TRUE.

check_rownames

Check for duplicated row names? Default TRUE.

Author(s)

Leandro Roser learoser@gmail.com

Examples

 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)

EcoGenetics documentation built on July 8, 2020, 5:46 p.m.