Suppose $X, Y_i$ for $i=1...n$ are standard normal variable but are also correlated so collectively they come from a multivariate normal distribution.
Now the complication is what if I want to generate the values of $Y_i$ given $X$? For case where $n=1$ it can be shown that $Y_1|X \sim \mathcal{N}(\rho X,1-\rho^2)$ where $\rho = \text{cov}(X,Y)$.
For large $n$ it's quite tricky to derive $Y_i|X$.
Is there a package in R that can do this simulation (via copula, multivariate normal or any other mean) already?