Print a spikeslab object.
## S3 method for class 'summary.lm.spike'
## S3 method for class 'summary.logit.spike'
An object of class summary.lm.spike.
Additional arguments passed to print.default.
This function is called for its side effect, which is to print the
spikeslab object to the screen.
Steven L. Scott
n <- 100
p <- 10
ngood <- 3
niter <- 1000
sigma <- 2
x <- cbind(1, matrix(rnorm(n * (p-1)), nrow=n))
beta <- c(rnorm(ngood), rep(0, p - ngood))
y <- rnorm(n, x %*% beta, sigma)
x <- x[,-1]
model <- lm.spike(y ~ x, niter=niter)
Questions? Problems? Suggestions? Tweet to @rdrrHQian@mutexlabs.com.
Please suggest features or report bugs with the GitHub issue tracker.
All documentation is copyright its authors; we didn't write any of that.