plot.penalty_derivative: Plot 'penalty_derivative' Objects

Description Usage Arguments Value Examples

View source: R/derivative.R

Description

Plot penalty_derivative Objects

Usage

1
2
## S3 method for class 'penalty_derivative'
plot(x, size = 1, ...)

Arguments

x

An object of class penalty_derivative.

size

Numeric. Line size in geom_line.

...

Currently ignored.

Value

An object of class ggplot

Examples

1
2
3
4
pen_deriv <- penalty_derivative(theta =  seq(-5,5,length.out = 10000),
                            lambda = 1,
                            gamma = c(0.01, 0.05, 0.1))
plot(pen_deriv)

GGMncv documentation built on Dec. 15, 2021, 9:10 a.m.