Plot penalty_derivative
Objects
# S3 method for penalty_derivative plot(x, size = 1, ...)
x | An object of class |
---|---|
size | Numeric. Line size in |
... | Currently ignored. |
An object of class ggplot
# \donttest{ pen_deriv <- penalty_derivative(theta = seq(-5,5,length.out = 10000), lambda = 1, gamma = c(0.01, 0.05, 0.1)) plot(pen_deriv) #> Warning: Removed 1020 row(s) containing missing values (geom_path). # }