Exam2.B.1 | R Documentation |
Exam2.B.1 is used to visualize the effect of lm model statement with Gaussian data and their design matrix
Muhammad Yaseen (myaseen208@gmail.com)
Adeela Munawar (adeela.uaf@gmail.com)
Stroup, W. W. (2012). Generalized Linear Mixed Models: Modern Concepts, Methods and Applications. CRC Press.
Table1.1
#-----------------------------------------------------------------------------------
## Linear Model discussed in Example 2.B.1 using simple regression data of Table1.1
#-----------------------------------------------------------------------------------
data(Table1.1)
Exam2.B.1.lm1 <- lm(formula = y~x, data = Table1.1)
summary(Exam2.B.1.lm1)
library(parameters)
model_parameters(Exam2.B.1.lm1)
DesignMatrix.lm1 <- model.matrix (object = Exam2.B.1.lm1)
DesignMatrix.lm1
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.