powered by
data(diabetes)
x
y
x2
The x matrix has been standardized to have variance 1 in each column and zero mean. The matrix x2 consists of x plus certain interactions.
lassoscore
data(diabetes) mod <- with(diabetes,lassoscore(y,x,lambda=0.02))
Run the code above in your browser using DataLab