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. ______________________________________________ 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.