Re: [R] Axes in 3D plots

2009-03-22 Thread Daniel Moreira
,'x+-','x++','x-+','z--','y++')) hth, Daniel Moreira, MD Leah Gerber Sent by: r-help-boun...@r-project.org 03/22/2009 09:07 PM To r-help@r-project.org cc Subject [R] Axes in 3D plots I am wondering if anyone knows how to change or rotate th

Re: [R] If statement generates two outputs

2009-03-22 Thread Daniel Moreira
if (X>5) { df1<-c(4,5,6,7,8) df2<-c(9,10,11,12,13) } hth, Daniel Moreira, MD jimdare Sent by: r-help-boun...@r-project.org 03/22/2009 05:27 PM To r-help@r-project.org cc Subject [R] If statement generates two outputs Hi, How do I tell an if statement to generate two

Re: [R] Delete row if first letter of row name is

2009-02-14 Thread Daniel Moreira
Try: mydata[substr(rownames(mydata),1,1)!="U",] where mydata is a matrix or data.frame. ________ Daniel Moreira, MD "Sally" Sent by: r-help-boun...@r-project.org 02/14/2009 11:48 PM Please respond to Sally To cc Sally Subject [R]

Re: [R] Mann Whitney test

2009-02-14 Thread Daniel Moreira
Rodrigo, Wilcoxon?Mann?Whitney allows arbitrary sample sizes. It is an extension of the original Wilcoxon test which only handles equal sample sizes. Daniel Moreira, MD Research Associate Duke University Medical Center DUMC 2626, MSRB-I Room 455 571

Re: [R] superscript

2009-02-13 Thread Daniel Moreira
Try: plot(1,1,xlab="ligth intensity (PAR)",ylab=expression("mass Pteridium rhizomes" (gr/0.25*m^2))) ________ Daniel Moreira, MD Research Associate Duke University Medical Center DUMC 2626, MSRB-I Room 455 571 Research Drive Durham,

Re: [R] I want axes that cross

2009-02-13 Thread Daniel Moreira
ol="red", col.axis="red", yaxp=c(-6, 6, 12),xpd=T) Daniel Moreira, MD Research Associate Duke University Medical Center DUMC 2626, MSRB-I Room 455 571 Research Drive Durham, North Carolina 27710 Telephone: (919) 681-7132 Fax: (919) 668-7093 E-mail: danie

Re: [R] I want axes that cross

2009-02-13 Thread Daniel Moreira
een", pos=0) axis(2, col="red", col.axis="red", pos=-2) Daniel Moreira, MD Research Associate Duke University Medical Center DUMC 2626, MSRB-I Room 455 571 Research Drive Durham, North Carolina 27710 Telephone: (919) 681-7132 Fax: (919) 668-70