Learn R Programming

dMod (version 1.0.0)

combine: Combine several data.frames by rowbind

Description

Combine several data.frames by rowbind

Usage

combine(...)

Arguments

...

data.frames or matrices with not necessarily overlapping colnames

Value

A data.frame

Details

This function is useful when separating models into independent csv model files, e.g.~a receptor model and several downstream pathways. Then, the models can be recombined into one model by combine().

Examples

Run this code
# NOT RUN {
data1 <- data.frame(Description = "reaction 1", Rate = "k1*A", A = -1, B = 1)
data2 <- data.frame(Description = "reaction 2", Rate = "k2*B", B = -1, C = 1)
combine(data1, data2)
# }

Run the code above in your browser using DataLab