[R] Standard deviation for rows

Alex99 loyola9988 at yahoo.com
Wed Oct 15 20:21:54 CEST 2008


Thanks for the reply,

that's exactly what I wanted. I also figured that the function rowSds() does
exist. I just needed to load the generfilter package.

Thanks again.
 

Nutter, Benjamin wrote:
> 
> ?apply
> 
> e.g. apply(matrix,1,sd)
> 
> -----Original Message-----
> From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-project.org]
> On Behalf Of Alex99
> Sent: Wednesday, October 15, 2008 1:17 PM
> To: r-help at r-project.org
> Subject: [R] Standard deviation for rows
> 
> 
> Hi everyone,
> 
> I have just started using R, and I have a simple question.
> How can I get the Standard deviation for rows. basically I am looking
> for
> something like  "rowMeans()"  
> but for Standard deviation (I tried "rowSds()" didn't exist)
> 
> Thanks,
> -- 
> View this message in context:
> http://www.nabble.com/Standard-deviation-for-rows-tp19998106p19998106.ht
> ml
> Sent from the R help mailing list archive at Nabble.com.
> 
> ______________________________________________
> R-help at 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.
> 
> 
> 
> P Please consider the environment before printing this e-mail
> 
> Cleveland Clinic is ranked one of the top hospitals
> in America by U.S. News & World Report (2008).  
> Visit us online at http://www.clevelandclinic.org for
> a complete listing of our services, staff and
> locations.
> 
> 
> Confidentiality Note:  This message is intended for use\...{{dropped:13}}
> 
> ______________________________________________
> R-help at 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.
> 
> 

-- 
View this message in context: http://www.nabble.com/Standard-deviation-for-rows-tp19998106p19999312.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list