Constructor for tnormalmix class
Creates an object of class tnormalmix (finite mixture of truncated univariate normals).
tnormalmix(pi, mean, sd, a, b)
pi
: Cector of mixture proportions (length k say).mean
: Vector of means (length k).sd
: Vector of standard deviations (length k).a
: Vector of left truncation points of each component (length k).b
: Cector of right truncation points of each component (length k).An object of class tnormalmix .
tnormalmix(c(0.5,0.5),c(0,0),c(1,2),c(-10,0),c(0,10))