Description Usage Examples
View source: R/lm_beta.R
coef for linear regression
1
lm_beta(X,Y)
1 2 3 4 5 6
n=100 p=4 X<-matrix(rnorm(n*p),nrow=n) beta=c(1,2,3,4) Y=X%*%beta lm_beta(X,Y)
Add the following code to your website.
REMOVE THIS Copy to clipboard
For more information on customizing the embed code, read Embedding Snippets.