Description Usage Arguments Value Author(s) See Also Examples
This function produces a scatterplot for a bivariate standard normal distribution with least squares regression line.
1 | mvrnormplot.fnc(r, n, limits)
|
r |
The correlation, defaults to 0.9. |
n |
Number of simulated data points, defaults to 100. |
limits |
Optional range for the axes |
A scatterplot with ordinary least squares regression line is shown on the graphics device, with sample estimate of r added at the top of the plot.
R. H. Baayen
mvrnorm (MASS package)
1 2 3 4 | ## Not run:
mvrnormplot.fnc(r=0.9, n=100)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.