powered by
penalty_function
Plot penalty_function Objects
# S3 method for penalty_function plot(x, size = 1, ...)
An object of classpenalty_function.
Numeric. Line size in geom_line.
geom_line
Currently ignored.
An object of class ggplot
ggplot
# NOT RUN { func <- penalty_function(theta = seq(-5,5,length.out = 10000), lambda = 1, gamma = c(0.01, 0.05, 0.1)) plot(func) # }
Run the code above in your browser using DataLab