Learn R Programming

countprop (version 1.0.1)

ebicPlot: Extended Bayesian Information Criterion Plot

Description

Plots the extended Bayesian information criterion (EBIC) of the model fit for various penalization parameters lambda.

Usage

ebicPlot(fit, xlog = TRUE, col = "darkred")

Value

Plot of the EBIC (y-axis) against each lambda (x-axis).

Arguments

fit

The model fit object from mleLR()

xlog

TRUE or FALSE. Renders plot with the x-axis in the log-scale if TRUE

col

Colour of the plot (character)

Examples

Run this code
data(singlecell)
mle <- mlePath(singlecell, tol=1e-4, tol.nr=1e-4, n.lambda = 2, n.cores = 1)

ebicPlot(mle, xlog = TRUE)

Run the code above in your browser using DataLab