Re: [R] Unpaste Problem

From: Gabor Grothendieck <ggrothendieck_at_gmail.com>
Date: Sat 27 Aug 2005 - 07:19:01 EST

On 8/26/05, A Mani <a.manigs@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



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Sat Aug 27 07:25:50 2005

This archive was generated by hypermail 2.1.8 : Sun 23 Oct 2005 - 16:00:25 EST