Learn R Programming

dartR.base (version 1.0.5)

rbind.dartR: adjust rbind for dartR

Description

rbind is a bit lazy and does not take care for the metadata (so data in the other slot is lost). You can get most of the loci metadata back using gl.compliance.check.

Usage

# S3 method for dartR
rbind(...)

Value

A genlight object

Arguments

...

list of dartR objects

Examples

Run this code
t1 <- platypus.gl
class(t1) <- "dartR"
t2 <- rbind(t1[1:5,],t1[6:10,])

Run the code above in your browser using DataLab