[R] Searching for specific functions

2005-09-30 Thread Fabrizio Ferri Benedetti
Hello everybody (I'm new here) I am looking for 2 specific functions. The first one is a variance formula that does not divide by n-1 (I don't want the unbiased formula, that's it). In case it does not exist, how do I modify the default function code? Yes, a workaround would be to multiply

Re: [R] Searching for specific functions

2005-09-30 Thread Adaikalavan Ramasamy
1) I am not sure why you want the biased version but here are two ways to do this. Also if you have large enough sample size, it would not matter much. my.var1 - function(x) mean( (x - mean(x))^2 ) my.var2 - function(x) mean( x^2 - mean(x)^2 ) 2) Look at quantiles function. Your