[R] Using a covariance matrix as input to relaimpo package

2008-12-15 Thread Ku!Rt
I'm having trouble getting the relaimpo package to use a covariance matrix as input. I'm getting an error message that reads as follows: Error in eval(m$weights, data, parent.frame()) : numeric 'envir' arg not of length one I'm guessing there is something wrong with the structure of my covar

Re: [R] Using a covariance matrix as input to relaimpo package

2008-12-15 Thread Ku!Rt
I just discovered that even with this error message, relaimpo does run and produce output objects that appear fine. It would be nice to know if this error message is serious or not. -- View this message in context: http://www.nabble.com/Using-a-covariance-matrix-as-input-to-relaimpo-package-tp

Re: [R] Using a covariance matrix as input to relaimpo package

2008-12-16 Thread Ku!Rt
By trial and error I have discovered that it works if I don't use the formula interface in combination with a covariance matrix as input. If the covariance matrix has the dependent variable as its left-most variable as the relaimpo documentation suggests, then the relaimpo package will run by sim