This function samples normal distribution with normal contamination
conta_normal(
n,
Omega,
byrow = FALSE,
cont_rate = 0.05,
mu = 10,
sd = sqrt(0.2)
)samplesize
precision matrix of the normal
whether the contamination happened by row? FALSE stand for cellwise contamination
how many cells/rows are contaminated?
mean of the contamination
standard deviation of the contamination
a matrix of contaminated (multivariate) normal distributed data, row as sample