search for: prasannaprakash

Displaying 6 results from an estimated 6 matches for "prasannaprakash".

2006 Feb 17
2
Grouping and Averaging in Table
Dear Rs I have a single table with three columns in the following form: 1 100 150 1 45 32 1 99 100 2 150 33 2 22 87 2 71 31 .... .... 1000 64 32 1 100 150 1 45 32 1 99 100 2 22 89 2 31 44 2 88 11 .... .... 1200 64 32 1 100 150 1 45 32 1 99 100 2 150 33 2 22 87 2 71 31 ... ... 1100 31 34 Totally 1000+1200+1100 rows. Now, I need to group by first column and average then second and third column
2005 Nov 25
1
Plotting the diff. between two curves
Dear Rs I have two vectors A and B where A is V1 d 1 0.000100000 1.123278 2 0.002186431 1.120448 3 0.004351214 1.106661 4 0.006515998 1.107713 5 0.008680781 1.107667 6 0.013010348 1.106353 7 0.019504698 1.104077 8 0.034658181 1.103202 9 0.051976447 1.103200 10 0.073624280 1.094825 11 0.093085682 1.085123 12 0.095250465 1.087325 13 0.132051782 1.086158 14 0.168853098
2007 Jan 22
1
Latin hyper cube sampling from expand.grid()
Dear R experts I am looking for a package which gives me latin hyper cube samples from the grid of values produced from the command "expand.grid". Any pointers to this issue might be very useful. Basically, I am doing the following: > a<-(1:10) > b<-(20:30) > dataGrid<-expand.grid(a,b) Now, is there a way to use this "dataGrid" in the package
2005 Nov 03
1
Help in expand.grid() (Restricted combination)
Dear Rs: BY having the following code: candidates<-expand.grid(e=c("nearest-neighbor","exaustive"), d=c(70,75,80,85,90,92,94,96,98,99), n=c(20,25,30,35,40)) results in : e d n 1 nearest-neighbor 70 20 2 exaustive 70 20 3 nearest-neighbor 75 20 4 exaustive 75 20 ................ 90 exaustive 90 40 91 nearest-neighbor 92 40 92 exaustive 92 40 93 nearest-neighbor 94 40 94
2006 Mar 11
1
Scaling in plot function
Dear R helpers, I have a vector of 500 numbers and I need to plot them in such a way that the first 250 values should occupy 80% of the plot and the remaining ones should take 20%. More precisely, x axis ranges form 1:500 and the idea is to give the snapshot of the first 250 values. I tried "axis()" and log="x", but I am not getting the required output. Thanks
2006 Apr 10
2
Legend in the outer margin
Dear Rs I have a 3x3 multiple plot. I would like to have a overall legend in the outer right margin. From the help archive, I found that it can be done by setting par(xpd=NA). However, I couldn't find the correct values for x and y co-ordinates for the legend. Please find the code snippet below: par(mfrow=c(3,3), mar=c(4,4,0.9,0.5), oma=c(1,2,2,4),cex.main=1.1)