Re: [R] Sample covariance matrix in R

2010-11-18 Thread Bert Gunter
perhaps ... library("fortunes") fortune("surgery") Cheers, Bert On Thu, Nov 18, 2010 at 1:57 PM, Ben Bolker wrote: > Alaios yahoo.com> writes: > >> >> Hello everyone. >> I would like to find the sample covariance matrix using R. >> >> So far I read on the wikipedia what a sample_covariance is

Re: [R] Sample covariance matrix in R

2010-11-18 Thread Ben Bolker
Alaios yahoo.com> writes: > > Hello everyone. > I would like to find the sample covariance matrix using R. > > So far I read on the wikipedia what a sample_covariance is > http://en.wikipedia.org/wiki/Sample_covariance > > according to wikipedia one vector is > enough to calculate the sample

Re: [R] Sample covariance matrix in R

2010-11-18 Thread Doran, Harold
The help and its examples are very comprehensive here. The usage you cite shows exactly what you need to do From: Alaios [mailto:ala...@yahoo.com] Sent: Thursday, November 18, 2010 1:30 PM To: Doran, Harold Subject: RE: [R] Sample covariance matrix in R Checked that Usage covr(x, y = NULL

Re: [R] Sample covariance matrix in R

2010-11-18 Thread Doran, Harold
Alex: ?cov > -Original Message- > From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On > Behalf Of Alaios > Sent: Thursday, November 18, 2010 12:54 PM > To: Rhelp > Subject: [R] Sample covariance matrix in R > > Hello everyone. > I wo

[R] Sample covariance matrix in R

2010-11-18 Thread Alaios
Hello everyone. I would like to find the sample covariance matrix using R. So far I read on the wikipedia what a sample_covariance is http://en.wikipedia.org/wiki/Sample_covariance according to wikipedia one vector is enough to calculate the sample covariance matrix. In R I tried cov(myvector) a