Learn R Programming

MLDS (version 0.1-5)

rbind.mlds.df: Concatenate Objects of Class 'mlds.df' by Row

Description

Concatenate the data.frame of mlds.df objects by row and concatenate the invord attributes, also.

Usage

## S3 method for class 'mlds.df':
rbind(...)
Rbind(...)

Arguments

...
Objects of class mlds.df.

Value

  • An object of class mlds.df that is composed of data from several experiments.

Details

Uses rbind.data.frame to concatenate the data.frame component of several mlds.df objects and then concatenates there invord attributes, as well. Rbind will work, too, but is depracated.

Examples

Run this code
data(kk1)
data(kk2)
data(kk3)
kk <- rbind(kk1, kk2, kk3)
nrow(kk1)
nrow(kk)
length(attr(kk1, "invord"))
length(attr(kk, "invord"))

Run the code above in your browser using DataLab