Learn R Programming

glmaag (version 0.0.6)

plot.glmaag: Paths for glmaag object

Description

Generates coefficients, lok likelihood, or number of parameters paths for glmaag models

Usage

# S3 method for glmaag
plot(x, col_count = 3, type = "coef", ...)

Arguments

x

glmaag object

col_count

number of columns shown in the plot (when type = 'coef)

type

can be "coef" (coefficients paths), "loglik" (log likelihood paths), or "n" (number of parameters paths)

...

Value

plots

Examples

Run this code
# NOT RUN {
data(sampledata)
data(L0)
y <- sampledata$Y_Gau
x <- sampledata[, -(1:3)]
mod <- glmaag(y, x, L0)
gg <- plot(mod, type = 'loglik')
# }

Run the code above in your browser using DataLab