Re: [R] SAS user now converting to R - Help with Transpose

2009-09-28 Thread Paul Hiemstra
Hi, Also take a look at cast(), melt() and recast() from the reshape package. Great and very flexible functions. cheers, Paul Daniel Malter schreef: ?reshape hth, Daniel baxterj wrote: I am just starting to code in R and need some help as I am used to doing this in SAS. I have a

Re: [R] SAS user now converting to R - Help with Transpose

2009-09-28 Thread John Kane
library(reshape) melt(dataset) # assuming dataset is a data.frame. --- On Mon, 9/28/09, baxterj j...@vt.edu wrote: From: baxterj j...@vt.edu Subject: [R] SAS user now converting to R - Help with Transpose To: r-help@r-project.org Received: Monday, September 28, 2009, 10:24 AM I am just

Re: [R] SAS user now converting to R - Help with Transpose

2009-09-28 Thread Daniel Malter
Transpose data=ds1 out=ds2; by chemical; var Well1 Well2 Well3 Well4; run; data ds3; set ds2; rename _name_ = WellID; rename col1 = value; run; How can I do this in R?? Any help is much appreciated. Thanks! -- View this message in context: http://www.nabble.com/SAS-user-now-converting

[R] SAS user now converting to R - Help with Transpose

2009-09-28 Thread baxterj
; run; data ds3; set ds2; rename _name_ = WellID; rename col1 = value; run; How can I do this in R?? Any help is much appreciated. Thanks! -- View this message in context: http://www.nabble.com/SAS-user-now-converting-to-R---Help-with-Transpose-tp25645393p25645393.html Sent from the R help mailing

Re: [R] SAS user now converting to R - Help with Transpose

2009-09-28 Thread Henrique Dallazuanna
this message in context: http://www.nabble.com/SAS-user-now-converting-to-R---Help-with-Transpose-tp25645393p25645393.html Sent from the R help mailing list archive at Nabble.com. __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r

Re: [R] SAS user now converting to R - Help with Transpose

2009-09-28 Thread baxterj
the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- View this message in context: http://www.nabble.com/SAS-user-now-converting-to-R---Help-with-Transpose-tp25645393p25649504.html Sent from the R help mailing list

Re: [R] SAS user now converting to R - Help with Transpose

2009-09-28 Thread Gabor Grothendieck
.  Thanks! -- View this message in context: http://www.nabble.com/SAS-user-now-converting-to-R---Help-with-Transpose-tp25645393p25645393.html Sent from the R help mailing list archive at Nabble.com. __ R-help@r-project.org mailing list https

Re: [R] SAS user now converting to R - Help with Transpose

2009-09-28 Thread Corrado
! -- View this message in context: http://www.nabble.com/SAS-user-now-converting-to-R---Help-with-Transpose- tp25645393p25645393.html Sent from the R help mailing list archive at Nabble.com. __ R-help@r-project.org mailing list https