Learn R Programming

diagL1 (version 1.0.0)

class_to_rq: Change object class from "regL1" to "rq"

Description

Changing the object's class from "regL1" to "rq" allows you to use functions from the 'quantreg' package normally.

Usage

class_to_rq(object)

Value

Object with class "rq".

Arguments

object

Object from "regL1" class.

See Also

regL1 for fitting linear L1 models. rq for fitting linear L1 models.