Learn R Programming

bivquant (version 0.1)

dgp_rot: Generate rotated bivariate normal data compared to a bivariate normal distribution with a certain mean and covariance matrix.

Description

Generate rotated bivariate normal data compared to a bivariate normal distribution with a certain mean and covariance matrix.

Usage

dgp_rot(n, mu, Sigma, gamma = pi/4)

Arguments

n

sample size.

mu

expectation, a vector of size two.

Sigma

covariance matrix.

gamma

angle of rotation in radients.

Value

a \(n\times 2\) matrix of the data.