[R] Help center

2011-03-03 Thread Bobby Lee
Could you please take my email off the help center? Thank you very much. [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project

[R] Changing the points in a circular plot

2011-02-10 Thread Bobby Lee
x<-circular(dayofmax[,2]*2*pi/365) res25 <- density(x, bw=25, control.circular=list(units="degrees")) circularp(res25$x) plot(res25, col=4, points.plot=TRUE, xlim=c(-1.5,1.5)) res50 <- density(x, bw=50, adjust=2) lines(res50, col=2) lines(res50, col=3, shrink=0.9) this is my code, basically, it

[R] circular

2011-02-07 Thread Bobby Lee
Hi, I'm new to R. I'm trying to plot my data into a circle. my data sort of looks like 12,12,4,5,6,5,11,10,3,9,9,9,12,12,2 total of 15 numbers. I'm trying to add all the same numbers, such that, there are 4 of 12s,1 of 11, 1 of 10, 3 of 9s, and such so the circle plot would have 4 parts of 12,

[R] leap year and order function

2011-01-30 Thread Bobby Lee
im trying to write a for loop so that every leap year, the number of days becomes to 366 instead of 365. could someone help me out? and also, this set of data has 99.99s I set all the 99.99 ==NA. however, when im doing the order function to find the max value of that year, it still reads 99.99 as t