R/plot.KERE.R

Defines functions plot.KERE

Documented in plot.KERE

plot.KERE <- function(x,...) {
  alpha <- x$alpha[-1,]
  lambda <- x$lambda
  index <- log(lambda)
  iname <- "Log Lambda"
  xlab <- iname
  ylab <- "Coefficients"
  matplot(
        index, t(alpha), lty = 1, xlab = xlab, ylab = ylab,
        type = "l", pch = 500, 
		col = gray.colors(12, start = 0.05, end = 0.7, gamma = 2.2), ...
      )
}

Try the KERE package in your browser

Any scripts or data that you put into this service are public.

KERE documentation built on May 1, 2019, 8:01 p.m.