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.s...@imail.org
801.408.8111
-Original Message-
From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-
project.org] On Behalf Of Turn Fall
Sent: Tuesday, August 17, 2010 5:13 AM
To: r-help@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@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.
__
R-help@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.