[R] How do I add rows to a table?

Kevin Wang Kevin.Wang at maths.anu.edu.au
Thu Aug 19 00:53:55 CEST 2004


Hi,

On Wed, 18 Aug 2004, Beverly Seavey wrote:

>     inp1 <- scan("data1",list(0,0))
>     inp2 <- scan("data2",list(0,0))
>
>     allInp <- c(inp1,inp2)
>
>  I get a table with 4 columns.

If I understand you correctly...

Have you tried cbind()?

Cheers,

Kevin

--------------------------------
Ko-Kang Kevin Wang
PhD Student
Centre for Mathematics and its Applications
Building 27, Room 1004
Mathematical Sciences Institute (MSI)
Australian National University
Canberra, ACT 0200
Australia

Homepage: http://wwwmaths.anu.edu.au/~wangk/
Ph (W): +61-2-6125-2431
Ph (H): +61-2-6125-7407
Ph (M): +61-40-451-8301




More information about the R-help mailing list