[R] Append tables
macq at llnl.gov
Wed Dec 14 18:12:22 CET 2005
Does rbind() do what you want?
At 11:47 AM -0500 12/14/05, Bill Hunsicker wrote:
>I have read a number of tables into R with identical headings and I
>would now like to make a single table that has all the data appended
>under this single heading line.
>t1 <- read.csv("f1",header=TRUE)
>t2 <- read.csv("f2",header=TRUE)
>all <- c(t1,t2)
>#all is now twice as wide as t1 or t2 with the same number of row!!!!
>#I need to know how to join these tables in a row wise fashion.
>Can you help me?
>RF Micro Devices
>7625 Thorndike Road
>Greensboro, NC 27409-9421
>bhunsicker at rfmd.com
> [[alternative HTML version deleted]]
>R-help at stat.math.ethz.ch mailing list
>PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Environmental Protection Department
Lawrence Livermore National Laboratory
Livermore, CA, USA
More information about the R-help