?apply
apply(data,1,var)
On Sat, 01 Apr 2006 21:27:56 -0500, mark salsburg  
<[EMAIL PROTECTED]> wrote:

> I have a very large matrix. I would like to display the variance across  
> each
> row.
>
> In other words, I want to output a vector containing the values of  
> variance
> across row.
>
> When I use the function var(), it seems to give me the variability of  
> each
> column.
>
> Any ideas??
>
>       [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help@stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide!  
> http://www.R-project.org/posting-guide.html



-- 
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to