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/jrModellingBio documentation built on Dec. 11, 2019, 9:41 a.m.