aldvmm.check {aldvmm}  R Documentation 
aldvmm
aldvmm.check
runs validity checks of objects supplied to
aldvmm
.
aldvmm.check( formula, data, psi, ncmp, dist, lcoef, lcpar, lcmp, init.method, optim.method, optim.grad, init.est, init.lo, init.hi, optim.control, se.fit, level )
formula 
an object of class 
data 
a data frame, list or environment (or object coercible to a data
frame by 
psi 
a numeric vector of minimum and maximum possible utility values
smaller than or equal to 1 (e.g. 
ncmp 
a numeric value of the number of components that are mixed. The
default value is 2. A value of 1 represents a tobit model with a gap
between 1 and the maximum value in 
dist 
an optional character value of the distribution used in the
finite mixture. In this release, only the normal distribution is
available, and the default value is set to 
lcoef 
a character vector of length 2 with labels of objects including
regression coefficients of component distributions (default 
lcpar 
a character vector with the labels of objects including
constant parameters of component distributions (e.g. the standard
deviation of the normal distribution). The length of 
lcmp 
a character value representing a stub (default 
init.method 
an optional character value indicating the method for
obtaining initial values. The following values are available:

optim.method 
an optional character value of one of the following

optim.grad 
an optional logical value indicating if a numerical
gradient should be used in

init.est 
an optional numeric vector of userdefined initial values.
Userdefined initial values override the 
init.lo 
an optional numeric vector of userdefined lower limits for
constrained optimization. When 
init.hi 
an optional numeric vector of userdefined upper limits for
constrained optimization. When 
optim.control 
an optional list of

se.fit 
an optional logical value indicating whether standard errors
of fitted values are calculated. The default value is 
level 
a numeric value of the significance level for confidence bands of fitted values. The default value is 0.95. 
aldvmm.check
checks the validity of arguments of
aldvmm
.
aldvmm.check
returns warnings or stops the execution of
aldvmm
if validity
checks fail.