search for: athula

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

Did you mean: athena
1999 Jul 05
1
Anomaly in MIN (MAX) ?
...R (0.64.1): min(c(NA,NA,NA),na.rm=T) returns the following Warning in min(..., na.rm = na.rm) : no finite arguments to min/max; returning extreme. [1] 2147483647 S-Plus 4.5( Win32 edition) min(c(NA,NA,NA),na.rm=T) returns [1] NA The S-PLUS behaviour seems to be the right one Thanks, Athula. -- Athula Herath, PhD Oxford GlycoSciences,10, The Quadrant Abingdon Science Park, Abingdon, OXON OX14 3YS Email:Athula.Herath at ogs.co.uk Phone:+44 [0]1235 544202 FAX:+44 [0]1235 554701 -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Rea...
1998 Nov 10
1
Pivoting a data.frame
...6 NA 0.1 NA [Data Frame 22] As you see above, the columns of Table 1 is rearrange to categorise the third column (in terms of Col1 and Col2). I wonder whether anybody here could help me to code this in S-Plus or R, or point me on the direction how to do this. Many Thanks, Athula. -- Athula Herath, PhD, CEng, MBCS, Biostatistician Oxford GlycoSciences,10, The Quadrant Abingdon Science Park, Abingdon, OXON OX14 3YS Email:Athula.Herath at ogs.co.uk Phone:+44 [0]1235 544202 FAX:+44 [0]1235 554701 -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-...
1999 Mar 24
2
Change of parsing parameters to functions between 0.63.1 and 0.63.3 ?
...-> NA NA x[b]-> NA NA Obviously, something is not right. I have verified this in both Unix (Solaris, Linux) and also on WinNT However, R Version Version 0.64.0 Unstable (February 4, 1999) Reports a similar behaviour to Version 0.63.1 : i.e. giving me the correct results. Many Thanks, Athula -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat....
1999 Mar 24
2
Change of parsing parameters to functions between 0.63.1 and 0.63.3 ?
...-> NA NA x[b]-> NA NA Obviously, something is not right. I have verified this in both Unix (Solaris, Linux) and also on WinNT However, R Version Version 0.64.0 Unstable (February 4, 1999) Reports a similar behaviour to Version 0.63.1 : i.e. giving me the correct results. Many Thanks, Athula -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat....
2012 Mar 02
1
3d surface plot (ideally using rgl package)?
Dear HelpeRs, I would be grateful for anybody who might help to produce the following plot (the code for matlab is below) using the "rgl" package of R? [t,r] = meshgrid(linspace(0,2*pi,361),linspace(-4,4,101)); [x,y] = pol2cart(t,r); P = peaks(x,y); figure('color','white'); polarplot3d(P,'colordata',gradient(P)); view([-18 72]); You may see the code and plot
2012 Mar 12
1
ggplot2: coord_polar
Hello HelpeRs, The last print statement in the code segment below results in : Error in data$x[data$x == -Inf] <- range$x.range[1] : replacement has length zero R version 2.14.1 Patched (2011-12-23 r57982) ggplot2: version 0.90 OS : Linux (64bit) Any thoughts? Many Thanks, A. ## code segment starts here df <- data.frame( trt = factor(c(1, 1, 2, 2)), resp = c(1, 5,