[R] Trimmed Sample

Greg Snow Greg.Snow at imail.org
Thu Aug 19 20:24:40 CEST 2010


You can look at the code for mean.default and see how it does the trimming, then you can use that to create your own trimmed version to pass to other functions.

-- 
Gregory (Greg) L. Snow Ph.D.
Statistical Data Center
Intermountain Healthcare
greg.snow at imail.org
801.408.8111


> -----Original Message-----
> From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-
> project.org] On Behalf Of Turn & Fall
> Sent: Tuesday, August 17, 2010 5:13 AM
> To: r-help at r-project.org
> Subject: [R] Trimmed Sample
> 
> 
> I know about the trimmed mean function.
> 
> Is there a function that trims values of an array, vector ect
> 
> cheers
> --
> View this message in context: http://r.789695.n4.nabble.com/Trimmed-
> Sample-tp2328139p2328139.html
> Sent from the R help mailing list archive at Nabble.com.
> 
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-
> guide.html
> and provide commented, minimal, self-contained, reproducible code.



More information about the R-help mailing list