Combining ecogen object by column

eco.cbind(eco1, eco2, ..., missing = c("0", "MEAN", "NA"))

Arguments

eco1

Object of class "ecogen".

eco2

Object of class "ecogen".

...

Other "ecogen" objects to combine and the specification of the data frames to combine. Can be any of the following(s): P","G", "E", "S", "C", or "ALL" (default). If a "G" data frame is provided, the program also generates the A slot coding the missing data as "0" in default option (see the argument "missing"). The XY slot is generated automatically if present.

missing

Missing data manipulation. It can take three values ("0" ,"NA" or "MEAN"- i.e, the mean frequency of the corresponding allele). Missing elements are coded as 0 in the default option.

Examples

# NOT RUN { data(eco.test) eco.example <- eco.cbind(eco,eco,"ALL") eco.example eco.example2 <- eco.cbind(eco, eco,"P", "G", missing="NA") eco.example2 # }