GENMETA.control: Auxiliary for controlling the IRWLS algorithm

View source: R/GENMETA.control.R

GENMETA.controlR Documentation

Auxiliary for controlling the IRWLS algorithm

Description

This is an auxiliary function for the iteratively reweighted least squares algorithm for GENMETA. This is used internally by the myoptim function, but can be used by the user to create a control argument in the GENMETA function

Usage

GENMETA.control(epsilon = 1e-06, maxit = 1000)

Arguments

epsilon

a positive numeric indicating converegence tolerence; the algorithm stops when the absolute difference between the estimates in current and previous step is less than epsilon, i.e, |estimate_{new} - estimate_{old}| < ε

maxit

a positive number indicating the maximum number of iterations to be used in the algorithm. Default is 1000.

Value

A list with components named as the arguments.

Examples

control <- GENMETA.control(1e-08, 100)

28pro92/packages-GENMETA documentation built on Nov. 13, 2022, 1:49 p.m.