On Nov 12, 2010, at 1:07 AM, Jumlong Vongprasert wrote:

Dear All
   I have problem about calculte variance use R.
I use trimm mean by mean(x, trim=.05) and I want to calculate variance
with trimm=.05.
   How I can do this.

methods(mean)

Why not take the code for mean.default and substitute var for .Internal( mean(x)) ?

Many Thanks.
Jumlong

--
Jumlong Vongprasert Assist, Prof.
Institute of Research and Development
Ubon Ratchathani Rajabhat University
--

David Winsemius, MD
West Hartford, CT

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

Reply via email to