[R] Substitution of Variables

2007-07-02 Thread Judith Flores
Hi, I need to run a script under the variable (that comes from a csv file) that is assigned to another variable. This is very a simplified version of what I want to do: data-read.csv('name.csv') names(data)-(VA,VB,VC) v-VA mn(v) Thank you in advance, Judith

[R] Asteriscs in a plot to represent approximate size of p-values

2007-06-22 Thread Judith Flores
Hi, I need to place double and triple asterics (or stars) to highlight very low p-values. I am using points, for example: points(ssdx,ssdy,pch=8,cex=.9) but this allows me to place only one asterisc, how can I place 2 or 3 asteriscs? Thank you, Judith

[R] Adding exponents (superscript format) to a plot

2007-06-21 Thread Judith Flores
Hi, I need to add exponents to a label in one of the axes of a plot, how can I do this? Thank you, Judith Food fight? Enjoy some healthy debate __

[R] How can I obtain smooth lines in graphs?

2007-06-20 Thread Judith Flores
Hi, I need to plot lines in a graph, but when I run the corresponding commands I obtain pixel-like lines, they need to be smooth, is there a way to do this? Thank you, Judith __ R-help@stat.math.ethz.ch mailing list

Re: [R] How can I obtain smooth lines in graphs?

2007-06-20 Thread Judith Flores
[EMAIL PROTECTED] wrote: On Wed, 2007-06-20 at 17:05 -0700, Judith Flores wrote: Hi, I need to plot lines in a graph, but when I run the corresponding commands I obtain pixel-like lines, they need to be smooth, is there a way to do this? Thank you, Judith Judith

[R] Removing Inf and Inf values from a fata frame

2007-06-13 Thread Judith Flores
Hi, I have a csv file with empty values, when I apply the different functions (mean, std, etc.) I create a new data frame, the empty values generate Inf and -Inf values. How can I remove those Inf and -Inf values from the new data frame? I already specified na.rm in the mean and std

[R] ylim settings

2007-06-11 Thread Judith Flores
Hi, I need to know what is the plus/minus adjustment (proportion) that ylim applies if I have something like this: ylim=range(c(x,z)) meaning what's the x-(proportion) and the z+ (proportion)? Thank you, Judith

[R] Removing vertical line in Tinn R editor

2007-06-06 Thread Judith Flores
Hi, I haven't been able to figure out how to remove a vertical line that appears when I open an r file. How can I do this? Thank you, Judith Looking for a deal? Find great prices on flights and

[R] In which package is the errbar command located?

2007-05-25 Thread Judith Flores
__ 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 and provide commented, minimal, self-contained, reproducible code.

[R] Legend outside plotting area

2007-05-22 Thread Judith Flores
Hi, I have been trying many of the suggested options to place a legend outside plotting area, including something like this: par(xpd=T, oma=par()$oma+c(4.5,0,1.5,0),mar=par()$mar+c(1,0,1,0) But the aspect of the four plots gets compromised when I change the margin settings. I cannot

[R] Manipulating the sizes of multiple screens

2007-05-22 Thread Judith Flores
Hi, I used split.screen command to creaye 5 screens, 4 screens contain a plot each, the fifth screen is designated to a legend. I am having difficulties setting the dimensions of the screens in a way that would allow me to have the screen dedicated to the legend smaller. I end up with a

[R] How can we add a legend to a set of graphs?

2007-05-18 Thread Judith Flores
Hi, I have a set of 4 graphs and I need to add a legend that is shared by those 4 graphs. This is what I tried: locator(1) # I placed the cursor in the center of the 4 graphs $x [1] 9.299001 $y [1] 226.3201 legend(9.3,226.3,and the rest of the legend arguments)# but the legend didn't show.