fit,mdph-method | R Documentation |
Fit method for mdph Class
## S4 method for signature 'mdph'
fit(x, y, weight = numeric(0), stepsEM = 1000, every = 10)
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. |
An object of class mdph.
obj <- mdph(structure = c("general", "general"))
data <- sim(obj, n = 100)
fit(obj, data, stepsEM = 100, every = 50)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.