mv_normal: Multivariate normal

Description Usage Arguments

View source: R/correlation.R

Description

Function for generating a plot of bivariate normal with a given correlation between 2 variables. Created for the purpose of generating correlation plots in the handout material. Not intended for other purposes.

Usage

1
mv_normal(n = 1000, cor = 0.8)

Arguments

n

number of point in scatter

cor

correlation between the two variables


jr-packages/jrModelling documentation built on Oct. 30, 2020, 5:17 a.m.