Re: [R] second axis title orientation

2009-02-13 Thread Alexandre Swarowsky
tat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. -- Alexandre Swarowsky Soils and Biogeochemistry Graduate Group University of California at Davis One Shiel

Re: [R] Newbie Question: parts of a dataframe

2008-12-30 Thread Alexandre Swarowsky
not sure what you want either but reshape package may help, melt function. Sarah Goslee wrote: > On Tue, Dec 30, 2008 at 11:57 AM, glenn wrote: >> Assuming I have dataframe ³test² with dim = (2,10) say; >> >> And that I can choose some of the data; >> >> Test[1,2:6] >> >> How do I turn this data

[R] EMMA

2008-12-18 Thread Alexandre Swarowsky
Hey, Have some one work with End-Member Mixing Analysis in R? Is there a specific package? Thanks, Alex -- Alexandre Swarowsky Soils and Biogeochemistry Graduate Group University of California at Davis One Shields Avenue Davis CA 95618 Office: (530)752-4131 cell: (530)574-3028

Re: [R] Replace NaN with zero

2008-11-25 Thread Alexandre Swarowsky
what about ?sub and ?ifelse Spilak,Jacqueline [Edm] wrote: > I need help with replacing NaN with zero (the value '0') in my dataset. > The reason is that I can't get it to graph because of the NaN in the > dataset. I have tried: > data[is.nan(data)] <- 0 > that others have suggested in the help

Re: [R] reshape question

2008-11-18 Thread Alexandre Swarowsky
solution: reshape package, melt function. On Tue, 2008-11-18 at 02:07 +, Alexandre Swarowsky wrote: > Hi, > > It's probably a simple issue but I'm struggling with that. I'll use the > example shown in the help page. > > head(Indometh) > wide <-

[R] reshape question

2008-11-17 Thread Alexandre Swarowsky
I want something like that: Subject time conc 1.1 1conc.0.25 1.50 2.12conc.0.25 2.03 3.13conc.0.25 2.72 Thanks in advance, Alex -- Alexandre Swarowsky Soils and Biogeochemistry Graduate Group University of California at Davis One Shields Avenue