mvrnormplot.fnc: Scatterplot of bivariate standard normal distribution

Description Usage Arguments Value Author(s) See Also Examples

Description

This function produces a scatterplot for a bivariate standard normal distribution with least squares regression line.

Usage

1
mvrnormplot.fnc(r, n, limits)

Arguments

r

The correlation, defaults to 0.9.

n

Number of simulated data points, defaults to 100.

limits

Optional range for the axes

Value

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.

Author(s)

R. H. Baayen

See Also

mvrnorm (MASS package)

Examples

1
2
3
4
## Not run: 
	mvrnormplot.fnc(r=0.9, n=100)

## End(Not run)

languageR documentation built on May 2, 2019, 10:02 a.m.