[R] Percentile rank for each element in list

2010-09-07 Thread mic
Hlp Given this data x <- c(1,5,100,300,250,200,550,900,1000) > quantile(x) 0% 25% 50% 75% 100% 1 100 250 550 1000 When I run the quantile, I can only know the value of the nth percentile I want to know what's the percentile position of each items in the list Sample 1 = 100% on th

[R] Using jpeg() without X

2010-07-27 Thread mic
When I tried this, I'm having this error. Can somebody help me on this. Are there any alternatives or workaround for this? I'm having hard time to convince our admin to install X11 library and headers since they are not included on the default OS installation. Thanks in advance :) > jpeg("test.jp