Skip to content

[R-gui] Lengthening a data frame by repeating it

3 messages · Yannis Tzamouranis, Gabor Grothendieck

#
In the post x and y are matrices, not data frames.  Converting them to
data frames, try:
V1 V2 V1.1 V2.1
1  1  3   11   21
2  2  4   12   22
3  1  3   13   23
4  2  4   14   24
5  1  3   15   25
6  2  4   16   26


On Fri, Jan 30, 2009 at 8:21 AM, Yannis Tzamouranis
<yannis_tzamouranis at yahoo.com> wrote: