[R] effects() extractor for a quantile reqression object: error message

Christopher W. Ryan cry@n @end|ng |rom b|ngh@mton@edu
Fri Sep 6 04:50:24 CEST 2024


I'm using quantreg package version 5.98 of 24 May 2024, in R 4.4.1 on
Linux Mint.

The online documentation for quantreg says, in part, under the
description of the rq.object, "The coefficients, residuals, and effects
may be extracted by the generic functions of the same name, rather than
by the $ operator."

I create an rq object for the 0.9 quantile, called qm.9

effects(qm.9)

yields, the error message, " effects(qm.9)
Error in UseMethod("effects") :
  no applicable method for 'effects' applied to an object of class "rq"

I'm confused. Appreciate any suggestions. Thanks.

--Chris Ryan



More information about the R-help mailing list