R/plot.clogitboost.R

Defines functions plot.clogitboost

Documented in plot.clogitboost

plot.clogitboost<-function(x, d, grid = NULL, ...){
  fit <- x
  gridstep <- (fit$xmax[d] - fit$xmin[d]) / 100
  if (is.null(grid)) {
    grid <- seq(fit$xmin[d], fit$xmax[d], by = gridstep)
  }
  plot(grid, marginal(fit, grid, d), ...)
}

Try the clogitboost package in your browser

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

clogitboost documentation built on May 2, 2019, 6:28 a.m.