The lm object has a property named coefficients, but the code refers to it as x$coeff. When options(warnPartialMatchDollar=TRUE), this emits a warning. (I found this while working on a PR for logger and running unit-tests that use logger::formatter_pander.)
The
lm
object has a property namedcoefficients
, but the code refers to it asx$coeff
. Whenoptions(warnPartialMatchDollar=TRUE)
, this emits a warning. (I found this while working on a PR forlogger
and running unit-tests that uselogger::formatter_pander
.)https://github.com/Rapporter/pander/blob/7d5d9dd1b2d8f927737b8bb1f469679450cef43c/R/S3.R#L344
Options:
stats::coef(x)
(seems the canonical approach), orx$coefficients