Learn R Programming

nspmix (version 2.0-0)

initial0: Initialisation

Description

The functions examines whether the initial values are proper. If not, proper ones are provided, by employing the function "initial" provided by the class.

Usage

initial0(x, init = NULL, kmax = NULL)

Value

beta

an initialized value of beta

mix

an initialised or updated object of class disc for the mixing distribution.

Arguments

x

an object of a class for data.

init

a list with initial values for beta and mix (as in the output of initial)

kmax

the maximum allowed number of support points used.

Author

Yong Wang <yongwang@auckland.ac.nz>