[R] Quantiles of a subset of data

Pete Brecknock Peter.Brecknock at bp.com
Tue Feb 19 23:11:45 CET 2013


bradleyd wrote
> Thanks Pete. The TRIM argument in the MEAN function tells me how to trim
> off decimal points, but I am lost as to how to append the mean values of
> TEMP and IBI between the 10% and 90% quantiles of DAY in each YEAR. 
> 
> DAY is the julian date that an event occurred in certain years. The events
> occurred numerous times in each year, and I want to be able to say what
> the mean day was in each year excluding those days greater than the 90%
> and less than the 10% quantile in that year.

Would suggest that you forward a small, reproducible example with what you
expect the results to look like. 

Pete



--
View this message in context: http://r.789695.n4.nabble.com/Quantiles-of-a-subset-of-data-tp4659063p4659099.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list