Re: [R] problem when extacting columns of a data frame in a new data frame

2008-01-08 Thread Emmanuel Charpentier
Delphine Fontaine a écrit : > Dear R-users, > > I would like to create a new data frame composed of 2 columns of another > data frame. But it does not give me what I want... > >> casesCNST[1:10,] >case X1 X2 X3 X4 expected > 1A1 0 0 0 0E > 2A2 0 0 0 1C > 3

Re: [R] problem when extacting columns of a data frame in a new data frame

2008-01-08 Thread Dieter Menne
Delphine Fontaine genexion.com> writes: > I would like to create a new data frame composed of 2 columns of another > data frame. But it does not give me what I want... > > > casesCNST[1:10,] >case X1 X2 X3 X4 expected > 1A1 0 0 0 0E > 2A2 0 0 0 1C ... > > ex

[R] problem when extacting columns of a data frame in a new data frame

2008-01-08 Thread Delphine Fontaine
Dear R-users, I would like to create a new data frame composed of 2 columns of another data frame. But it does not give me what I want... > casesCNST[1:10,] case X1 X2 X3 X4 expected 1A1 0 0 0 0E 2A2 0 0 0 1C 3A3 0 0 0 2C 4A4 0 0 0 3