mvrnormplot.fnc {languageR}R Documentation

Scatterplot of bivariate standard normal distribution

Description

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

Usage

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

## Not run: 
	mvrnormplot.fnc(r=0.9, n=100)

## End(Not run)

[Package languageR version 1.5.0 Index]