全部版块 我的主页
论坛 数据科学与人工智能 数据分析与数据科学 R语言论坛
1009 2
2012-07-15
x <- runif(100) y <- rnorm(100)+5*xmodel <- lm(y~x)
> attributes(model)
$names
[1] "coefficients"  "residuals"     "effects"     
[4] "rank"          "fitted.values" "assign"     
[7] "qr"            "df.residual"   "xlevels"     
[10] "call"          "terms"         "model"      

$class
[1] "lm"

请问,我想知道xlevels具体的含义,在哪里查找?
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

全部回复
2012-7-15 14:17:34
友情帮顶
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2012-7-15 23:29:25
?lm里面的value里面有xlevels的解释


xlevels: (only where relevant) a record of the levels of the factors
          used in fitting.
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

相关推荐
栏目导航
热门文章
推荐文章

说点什么

分享

扫码加好友,拉您进群
各岗位、行业、专业交流群