RPubs will retire in June 2027.
Your existing documents will stay accessible through December 31, 2031
and
Connect Cloud
is the recommended home for new publishing.
Read the blog post
Generate 100 size sample for 2 variates with mean vector µ=(1,2) and covariance matrix ∑=(5 2 2 4) and compute density at each observation of generated sample and draw the density function by using R.