importFrom(survival, Surv, coxph, basehaz)
importFrom(stats, coefficients, fitted.values, residuals, time)
importFrom(graphics, plot)
exportClasses(penfit, breslow)
exportMethods(show, residuals, coefficients, penalty, basehaz, penalty, loglik, "[", "[[",
as.matrix, as.list, time, plot, fitted.values)
export(penalized, cvl, optL1, optL2, profL1, profL2, plotpath, contr.none, contr.diff)

importFrom("graphics", "abline", "legend", "par", "plot", "text")
importFrom("stats", "dnorm", "optimize", "plogis", "pnorm", "predict",

importFrom("stats", "as.formula", "ecdf", "median", "quantile")

importFrom("stats", "D", "median", "prcomp", "sd")

importFrom("stats", "contrasts", "density", "dnorm", "rnorm")

importFrom(snow, makeCluster, stopCluster)
importFrom(penalized, optL1, optL2, cvl, coefficients)
export(opt1D, opt2D, opt.nested.crossval, create.data, opt.splitval, scan.l1l2)

importFrom(snow, makeCluster, stopCluster, clusterSetupRNG, parLapply, parSapply)
importFrom(penalized, optL1, optL2, cvl, coefficients)
importFrom(MASS, mvrnorm)
export(opt1D, opt2D, opt.nested.crossval, create.data, opt.splitval, scan.l1l2)

importFrom(parallel, makeCluster, stopCluster, clusterSetRNGStream, parLapply, parSapply)
importFrom(penalized, optL1, optL2, cvl, coefficients)
importFrom(MASS, mvrnorm)
export(opt1D, opt2D, opt.nested.crossval, create.data, opt.splitval, scan.l1l2)

importFrom(stats, na.omit, optim, rbinom, rexp, runif)
importFrom(parallel, makeCluster, stopCluster, clusterSetRNGStream, parLapply, parSapply)
importFrom(penalized, optL1, optL2, cvl, coefficients)
importFrom(MASS, mvrnorm)
export(opt1D, opt2D, opt.nested.crossval, create.data, opt.splitval, scan.l1l2)

importFrom(stats, na.omit, optim, rbinom, rexp, runif)
importFrom(parallel, makeCluster, stopCluster, clusterSetRNGStream, parLapply, parSapply)
importFrom(penalized, optL1, optL2, cvl, coefficients)
importFrom(MASS, mvrnorm)
export(opt1D, opt2D, opt.nested.crossval, create.data, opt.splitval, scan.l1l2)

importFrom(stats, na.omit, optim, rbinom, rexp, runif)
importFrom(parallel, makeCluster, stopCluster, clusterSetRNGStream, parLapply, parSapply)
importFrom(penalized, optL1, optL2, cvl, coefficients)
importFrom(MASS, mvrnorm)
export(opt1D, opt2D, opt.nested.crossval, create.data, opt.splitval, scan.l1l2)