Displaying 3 results from an estimated 3 matches for "rosw".
Did you mean:
ross
1999 Nov 23
0
rbind problem
...---------------------
Am I missing something? Has anyone else come across this problem? Or is
this a new feature? I don't see anything in the documentation; indeed,
it says (in the help for cbind and rbind):
When the arguments consist of a mix of matrices and vectors the number of
columns (rosw) of the result is determined by the number of columns (rows)
of the matrix arguments. Any vectors have their values recycled or
subsetted to achieve this length.
Thanks,
Matt
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.c...
2000 Jun 22
1
Merging 2 files in R
Hi,
Is there a function (a way) to merge to files in R, as could be done in
SAS?
Example Data:
File1
C A T
File2
1 2 34 56
2 3 45 67
3 4 56 78
To Yield:
C A T 1 2 34 56
C A T 2 3 45 67
C A T 3 4 56 78
functions merge, cbind don't seem to do the trick.
Thanks,
steve
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read
1999 Nov 23
2
rbind problem (PR#338)
...---------------------
Am I missing something? Has anyone else come across this problem? Or is
this a new feature? I don't see anything in the documentation; indeed,
it says (in the help for cbind and rbind):
When the arguments consist of a mix of matrices and vectors the number of
columns (rosw) of the result is determined by the number of columns (rows)
of the matrix arguments. Any vectors have their values recycled or
subsetted to achieve this length.
Thanks,
Matt
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www...