[R] Using rep, but don't know what to put after each =

2009-02-20 Thread joe1985
Hello I have one DF (detheleny1periode), with some variables that mathes, in some way, variables in another DF (y2). The DF named detheleny1periode look like this (i have not included alle variables): CHR_NR diffdatoperiode 1137729 1137759 11377

Re: [R] Using rep, but don't know what to put after each =

2009-02-20 Thread jim holtman
Here is one way of doing it. It does not check for errors in the case that there are not enough values in the first dataframe: x1 - read.table(textConnection(CHR_NR diffdatoperiode + 1137729 + 1137759 + 1137778), header=TRUE) x2 -