fit,dph-method {matrixdist} | R Documentation |
Fit method for dph class
Description
Fit method for dph class
Usage
## S4 method for signature 'dph'
fit(x, y, weight = numeric(0), stepsEM = 1000, every = 100)
Arguments
x |
An object of class dph. |
y |
Vector or 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 dph.
Examples
obj <- dph(structure = "general", dimension = 2)
data <- sim(obj, n = 100)
fit(obj, data, stepsEM = 100, every = 20)
[Package matrixdist version 1.1.9 Index]