View source: R/addInterceptDS.R
addInterceptDS | R Documentation |
The option to turn on or off intercept model.
addInterceptDS(x.mat, intercept = FALSE)
x.mat |
The name of design matrix |
intercept |
The indicator to turn on (=TRUE) or off (=FALSE) the intercept model |
If intercept==TRUE, the "1" column was attached on the left side of x.mat, the combination was returned. If intercept==FALSE,
x.mat was returned. In the linear regression, y=x \beta+b
, the non-intercept model referred to b==0. In this case, the design matrix
and response should be z-standardized. The default was non-intercept model
The designed matrix
Han Cao
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.