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