||
Referring to http://r.789695.n4.nabble.com/Get-variable-names-from-results-of-lm-td4631095.html
four methods available:
all.vars(formula(lm.object))
variable.names(lm.object))
names(coef(lm.object))
labels(terms(lm.object))
Archiver|手机版|科学网 ( 京ICP备07017567号-12 )
GMT+8, 2024-11-22 07:06
Powered by ScienceNet.cn
Copyright © 2007- 中国科学报社