📜  r 删除输出中的无关紧要的系数 - R 编程语言代码示例

📅  最后修改于: 2022-03-11 14:52:00.702000             🧑  作者: Mango

代码示例1
#x is a 10 x 3 matrix
x = matrix(rnorm(3*10), ncol=3)
y = rnorm(10)
res = glm(y~x)
#ignore the intercept pval
summary(res)$coeff[-1,4] < 0.05