R/plot.apc.R

Defines functions plot.apc

Documented in plot.apc

plot.apc <-
function(x, elabs = TRUE,  ...){
 plot(c(-.5, x$m+.5), c(min(x$Results[,4],na.rm=TRUE), max(x$Results[,4],na.rm=TRUE)), type = "n", xlab = "Model size", ylab = "APC*")
 if (isTRUE(elabs)) text(0:x$m, x$Results[1:(x$m+1), 4], labels = names(x$Ests)[1:(x$m+1)]) else points(0:x$m, x$Results[1:(x$m+1), 4], pch = 19)
}

Try the APCanalysis package in your browser

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

APCanalysis documentation built on May 1, 2019, 6:27 p.m.