Re: [R] Mandriva Spring 2007 and R

2007-06-07 Thread Jonathan Morse
Thank you everyone for all of your suggestions!! I am going to try compiling R from the source- it should be the best exercise to broaden my understanding of Linux. Best. Jonathan. Roland Rau [EMAIL PROTECTED] wrote: Hi Jonathan, Jonathan Morse wrote: I am new to Linux (not to R

[R] Mandriva Spring 2007 and R

2007-06-04 Thread Jonathan Morse
I am new to Linux (not to R) and recently installed Mandriva Spring 2007 on my partitioned hard drive. My next objective is to install R in the Linux environment, unfortunately Mandriva is not one of the Linux distributions available for download... Could someone please let me know which

Re: [R] Trimming a Data Set

2007-03-20 Thread Jonathan Morse
- function(x,prop=.05) { trimx - x[x quantile(x,prob=(1-prop))] return(trimx) } Petr Jonathan Morse napsal(a): Hi, I am trying to restrict a data set so as not to included outliers. Specifically, I would like to specify a percentage where a fraction of observations are eliminated from the data

Re: [R] Trimming a Data Set

2007-03-20 Thread Jonathan Morse
- function(x,prop=.05) { trimx - x[x quantile(x,prob=(1-prop))] return(trimx) } Petr Jonathan Morse napsal(a): Hi, I am trying to restrict a data set so as not to included outliers. Specifically, I would like to specify a percentage where a fraction of observations are eliminated from the data

Re: [R] Trimming a Data Set

2007-03-20 Thread Jonathan Morse
That works nicely. Thank you. jim holtman [EMAIL PROTECTED] wrote: try this: trim - function(x,prop=.05) { trimlow -quantile(x,prob=(prop)) trimhigh - quantile(x,prob=(1 - prop)) x[(x = trimlow) (x = trimhigh)] } On 3/20/07, Jonathan Morse [EMAIL PROTECTED] wrote

[R] Trimming a Data Set

2007-03-14 Thread Jonathan Morse
Hi, I am trying to restrict a data set so as not to included outliers. Specifically, I would like to specify a percentage where a fraction of observations are eliminated from the data set, much in the same way that the trimmed mean function works - but leaving the restricted data set intact.