[R] Simulate data based on correlation coefficient

Gustavo gugarl1980 at yahoo.com.br
Sat Oct 6 04:48:28 CEST 2007


Hello all,



I have a vector with 1000 values and I would like to generate other 
correlated vector, but with different correlation coefficient (for example, 
r = 0.7).

Any ideas how can I do this?



Regards,

Gustavo.


	

	
		
_______________________________________________________ 

Experimente já e veja as novidades.



More information about the R-help mailing list