p_lm | R Documentation |
Get p values of linear model
p_lm(model)
model |
A linear model fitted via |
Named numeric vector containing p-values of the model, i.e., the overall p-value of the F-statistic, and the p-values of the intercept and coefficients. For naming convention of output see example.
x = rnorm(42) y = x + rnorm(42) m = lm(y ~ x) p_lm(m) # p_model p_intercept p_x # 9.010565e-11 3.330814e-01 9.010565e-11
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.