set.seed(123) n <- 1000 p <- 50 X <- matrix(rnorm(n*p,0,1),n,p) X[,1]<-2*X[,2] beta <- rnorm(p,0,1) Y <- X%*%beta+rnorm(n,0,0.5)
Add the following code to your website.
REMOVE THIS Copy to clipboard
For more information on customizing the embed code, read Embedding Snippets.