fit-dph-method: Fit method for dph class

fit,dph-methodR 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)

matrixdist documentation built on Aug. 8, 2023, 5:06 p.m.