fastmru {lmap}R Documentation

Fast version of mru. It runs mru without input checks.

Description

Fast version of mru. It runs mru without input checks.

Usage

fastmru(
  G = NULL,
  X = NULL,
  B = NULL,
  V = NULL,
  MAXINNER = 32,
  FCRIT = 0.001,
  MAXITER = 65536,
  DCRIT = 1e-06,
  error.check = FALSE
)

Arguments

G

indicator matrix of the response variable

X

matrix with predictor variables

B

starting values of the regression weights

V

starting values for class locations

MAXINNER

maximum number of iterations in the inner loop

FCRIT

convergence criterion for STRESS in the inner loop

MAXITER

maximum number of iterations in the outer loop

DCRIT

convergence criterion for the deviance

error.check

extensive check validity input parameters (default = FALSE).

Value

B estimated regression weights

V estimated class locations

Lastinner number of iterations in the last call to STRESS

Lastfdif last difference in STRESS values in the inner loop

lastouter number of iterations in the outer loop

lastddif last difference in deviances in outer loop

deviance obtained deviance


[Package lmap version 0.1.2 Index]