Displaying 1 result from an estimated 1 matches for "covmatrx".
Did you mean:
covmatr
2008 Dec 15
2
Using a covariance matrix as input to relaimpo package
...ot of length one
I'm guessing there is something wrong with the structure of my covariance
matrix, but it looks fine to me. Pardon my R ignorance if this is an easy
error message to decipher. Below is my code.
# calculate covariance matrix from survey respondent data using pairwise
deletion
covmatrx =
cov(respdata[,c("V0007","V0029","V0031","V0032","V0034","V0035","V0036")],
use = "pairwise")
>
# show the resulting covariance matrix
> covmatrx
V0007 V0029 V0031 V0032 V003...