mixnorm: Mixture normal distribution

Description Usage Arguments Author(s) Examples

View source: R/mixnorm.R

Description

Generate n observations from a mixture of two normal distributionsGenerate n observations from a mixture of two normal distributions

Usage

1
mixnorm(p, mu1, mu2, s1, s2, n)

Arguments

p

numeric positive integer

mu1

numeric positive integer

mu2

numeric positive integer

s1

numeric positive integer

s2

numeric positive integer

n

numeric positive integer

Author(s)

Edem Defor

Examples

1
Y1 = mixnorm(0.5,-2,3,2,1.5,1000)

edemprd/FinalProject documentation built on Jan. 1, 2021, 12:13 a.m.