Lines Matching +refs:model +refs:matrix +refs:lm
7 Splits the design matrix into categorical and continuous
12 splitFrame(mf, x = model.matrix(mt, mf),
16 \item{mf}{model frame (as returned by \code{\link{model.frame}}).}
17 \item{x}{(optional) design matrix, defaulting to the derived
18 \code{\link{model.matrix}}.}
43 \item{x1 }{design matrix containing only categorical variables}
45 categorical in the original design matrix}
46 \item{x2 }{design matrix containing the continuous variables}
65 fm1 <- lm(Y ~ Region + X1 + X2 + X3, education)
66 fmC <- lm(Y ~ Region + X1 + X2 + X3, educaCh )
67 splt <- splitFrame(fm1$model) ; str(splt)
68 splC <- splitFrame(fmC$model)
72 fm2 <- lm(Y ~ Region:X1:X2 + X1*X2, education)
73 s1 <- splitFrame(fm2$model, type="f" )
74 s2 <- splitFrame(fm2$model, type="fi" )
75 s3 <- splitFrame(fm2$model, type="fii")