fit,mdph-method {matrixdist} | R Documentation |
Fit method for mdph Class
Description
Fit method for mdph Class
Usage
## S4 method for signature 'mdph'
fit(x, y, weight = numeric(0), stepsEM = 1000, every = 10)
Arguments
x |
An object of class mdph. |
y |
A matrix with the data. |
weight |
Vector of weights. |
stepsEM |
Number of EM steps to be performed. |
every |
Number of iterations between likelihood display updates. |
Value
An object of class mdph.
Examples
obj <- mdph(structure = c("general", "general"))
data <- sim(obj, n = 100)
fit(obj, data, stepsEM = 100, every = 50)
[Package matrixdist version 1.1.9 Index]