This question already has an answer here:
In R, I like to create a set of variables that are correlated with a given variable.I scanned related questions but failed to find the same issue i have.
Here is instance.
Assuming $x$ is an exiting variable, I like to generate $z, y, t$ correlated variables with $4$ by $4$ correlation matrix.
So, variables $y, t, z$ would correlate $x$ according to predefined correlation matrix I will use as an input. It would be grateful if you leave a comment on me with a specific code.