useDynLib(BeSS, .registration = TRUE)
importFrom(Rcpp, evalCpp)
importFrom("survival", "coxph")
importFrom("survival", "Surv")
importFrom("glmnet", "glmnet")
importFrom("Matrix", "Matrix")
importFrom("stats", "binomial", "lm")
importFrom("graphics","abline","axis","box","grid","layout","lines","mtext","par",
           "plot","plot.new","plot.window","text","title")
importFrom("stats","glm","rbinom","rnorm","runif")


export(bess, bess.one, gen.data, aic, bic, ebic)

S3method(plot,bess)
S3method(coef,bess)
S3method(print,bess)
S3method(predict,bess)
S3method(logLik,bess)
S3method(deviance,bess)
S3method(coef,bess.one)
S3method(predict,bess.one)
S3method(logLik,bess.one)
S3method(deviance,bess.one)