powered by
Plot a solution path
# S3 method for hmlasso plot(x, xlim = NULL, ylim = NULL, ...)
hmlasso model
x range
y range
parameters of matlines function
# NOT RUN { X_incompl <- as.matrix(iris[, 1:3]) X_incompl[1:5,1] <- NA X_incompl[6:10,2] <- NA y <- iris[, 4] fit <- hmlasso(X_incompl, y, nlambda=50, lambda.min.ratio=1e-2) plot(fit) # }
Run the code above in your browser using DataLab