Message-ID: <971536df050826141939f4bb0c@mail.gmail.com>
Date: 2005-08-26T21:19:01Z
From: Gabor Grothendieck
Subject: Unpaste Problem
In-Reply-To: <a6821d9905082610094a195e14@mail.gmail.com>
On 8/26/05, A Mani <a.manigs at gmail.com> wrote:
> Hello,
> Easy ways to "unpaste"?
> xp <- paste(x2, x3) # x2, x3 are two non-numeric columns.
> .............
> .........................
> xfg <- data.frame(xp,sc1, sc2, sc3) # sc1,sc2, sc3 are numeric cols.
>
> I want xp to be split up to form a new dataframe of the form (x3, sc1,
> sc2, sc3).
> IMPORTANT info : elements of xp have the form abc<space>efg, with abc
> in x2 and efg in x3.
>
See
https://www.stat.math.ethz.ch/pipermail/r-help/2005-August/076492.html