We still do not have reproducible code, but a 'dataframe' is not a matrix.
And I would expect a covariance matrix to have the same row and column
names: the examples do.
On Wed, 7 Feb 2007, Alistair Campbell wrote:
Thanks for that Brian,
I have worked through the examples. They work because
Hi,
I have a set of covariance matrices but not the original data. I want to carry
out some exploratory factor analysis. So, I am trying to construct a covariance
matrix list as the input for factanal. I can construct a list which includes
the cov, the centers, and the n.obs. But it doesn't
The help page says
covmat: A covariance matrix, or a covariance list as returned by
'cov.wt'. Of course, correlation matrices are covariance
matrices.
and there is an example of a covariance list (ability.cov).
factanal(factors = 2, covmat = ability.cov)
Thanks for that Brian,
I have worked through the examples. They work because the covmat were produced
by the cov.wt which provides output as a list object. I am trying to construct
my own list object to use as the covmat. There are no obvious instructions on
how to do this.
So, here is what I
Alistair,
I have worked through the examples. They work because the covmat
were produced by the cov.wt which provides output as a list object.
I am trying to construct my own list object to use as the covmat.
There are no obvious instructions on how to do this.
So, here is what I have done