LMROB {RCTS}R Documentation

Wrapper around lmrob.

Description

Desgined to make sure the following error does not happen anymore: Error in if (init$scale == 0) : missing value where TRUE/FALSE needed. KS2014 is the recommended setting (use "nosetting = FALSE").

Usage

LMROB(parameter_y, parameter_x, nointercept = FALSE, nosetting = FALSE)

Arguments

parameter_y

dependent variable in regression

parameter_x

independent variables in regression

nointercept

if TRUE it performs regression without an intercept

nosetting

option to remove the recommended setting in lmrob(). It is much faster. Defaults to FALSE.

Value

An object of class lmrob. If something went wrong it returns an object of class error.


[Package RCTS version 0.2.4 Index]