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) and I get the reply that I need to pass either two 
argument or one matrix with x,y values .

How can I find the sample covariance matrix?

Best Regards
Alex




      
        [[alternative HTML version deleted]]

______________________________________________
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