update.etasclass: update.etasclass

View source: R/update.etasclass.R

update.etasclassR Documentation

update.etasclass

Description

New in version 2.2. A method update for etasclass objects: a very experimental version that can be used only on etasclass objects obtained from etasflp versions 2.2 or newer.

Usage

## S3 method for class 'etasclass'
update(object, ...)

Arguments

object

an etasclass object obtained from etasflp versions 2.2 or newer that will be updated.

...

optional arguments that will override the corresponding arguments in object

Details

It is a beta version. The catalog must be the same, and options in "..." must leave unchanged the number of observations used for estimation. Arguments given in "..." will override arguments already present in object. Not all arguments are suitable for updating: among them formula and params.ind should not be included in "..." list (to update such parameters it is better to assign them to a variable and then pass the variable name) . A new etasclass execution will start, using as arguments values of input object, eventually integrated with the list in "...". Tipically a first execution can be given with low values of iterlim, ndeclust, ntheta and high values of epsmax (e.g. iterlim=5, ndeclust=1, ntheta=24, epsmax=0.01), to obtain good starting values for parameters and for weights. Then an update can be run with better values such as iterlim=50, ndeclust=10, ntheta=60, epsmax=0.0001.

Value

un updated etasclass object

See Also

timeupdate.etasclass


etasFLP documentation built on Sept. 14, 2023, 5:06 p.m.