[R] multiple figure windows

2009-06-26 Thread Nattu
Hi, Is it possible to plot in multiple windows. for example Figure 1 in one window and Figure 2 in seperate window simultanously ? thanks, Nataraju -- "No relationship is Static .. You either Step up or Step down" [[alternative HTML version deleted]] __

[R] factor issue

2009-04-30 Thread Nattu
Hi, I have a column which I have to convert from factors to numeric. I am using the command as.numeric(variable) to do this. But when I convert the numeric value becomes different from factor . for example. > class(B) [1] "factor" > B [1] 180 183 175 163 155 188 191 160 170 165 152

[R] reading csv file : blanks

2009-04-29 Thread Nattu
Hi, I have a comma seperated data file which has blanks in it. I am trinying to import it to R using data1<-read.csv("oa_2006.csv", header = TRUE, sep = ",", quote="\"", dec=".") I want the missing values to be "NA". instead R reads them as "U". Any idea why this happens ? Thanks in advance. R

Re: [R] displaying percentage in bar plot

2009-04-24 Thread Nattu
Hi Jim, Thank you for the help. Along with the bars I wanted to show the respective percentage as well. Is that possible ? Regards, Nataraju GM On Fri, Apr 24, 2009 at 4:38 PM, Jim Lemon wrote: > Nattu wrote: > >> Hi, >> >> I have a query regarding barplot >&

[R] displaying percentage in bar plot

2009-04-23 Thread Nattu
Hi, I have a query regarding barplot I have a following data AIS LEvel 1 23 body regionA 10 15 20 B 15 25 15 Now I want to plot a barplot and in each bar (c

[R] counting strings in a column

2009-02-19 Thread Nattu
Dear All, I have a query : what is the command to count number of repeated words in a column. for ex: a = oranges oranges apples apples grape oranges apple pine the result should be oranges 3 apples 3 grape 1 pine 1 is there an easy way for this. Thanks, Nataraju GM R & D Bangalore -- "