powered by
Returns unpenalized portion of the objective function for a penalized quantile regression object.
getRho(model)
Object with rho as an attribute
Rho is the value of the unpenalized portion of the objective function.
# NOT RUN { x <- matrix(rnorm(800),nrow=100) y <- 1 + x[,1] - 3*x[,5] + rnorm(100) lassoModel <- rq.lasso.fit(x,y,lambda=.5) getRho(lassoModel) # }
Run the code above in your browser using DataLab