Skip to content
Prev 20129 / 20628 Next

HGLM object parameters

On 2023-03-01 9:20 p.m., J.D. Haltigan wrote:
? You don't have to save the summary object, you can construct it and 
extract what you need on the fly. Continuing the example:


 ? get_p_values <- function(m) {

 ??? summary(m)$FixCoefMat[,"Pr(>|t|)"]

}


get_p_values(m11)

 ?(Intercept)?????????? x1?????????? x3?????????? x5?????????? x6
3.009494e-53 2.627136e-03 9.343313e-06 1.185092e-02 1.796667e-06