Re: [R] Creating a correlation matrix from a vector

2012-10-26 Thread Peter Ehlers
On 2012-10-26 08:58, David Winsemius wrote: On Oct 26, 2012, at 6:52 AM, F_Smithers wrote: I'm looking to create a correlation matrix, but I have already obtained the correlations, which are stored in a vector. (Basically, I'm running a simulation which requires a correlation matrix, but I am

Re: [R] Creating a correlation matrix from a vector

2012-10-26 Thread David Winsemius
On Oct 26, 2012, at 6:52 AM, F_Smithers wrote: > I'm looking to create a correlation matrix, but I have already obtained the > correlations, which are stored in a vector. (Basically, I'm running a > simulation which requires a correlation matrix, but I am simulating the > various correlations.) >

[R] Creating a correlation matrix from a vector

2012-10-26 Thread F_Smithers
I'm looking to create a correlation matrix, but I have already obtained the correlations, which are stored in a vector. (Basically, I'm running a simulation which requires a correlation matrix, but I am simulating the various correlations.) My aim is to create a function that can take the vector,