Description Usage Arguments Value Author(s) See Also Examples
Produces a coefficient profile plot of the coefficient or loss function paths
1 2 3 4 5 6 7 8 9 10 |
x |
A |
type |
One of |
lambda |
For |
sign.lambda |
For |
breaks |
For |
K |
For |
... |
Other graphical parameters to plot |
No return value, called for plots generation
Liyuan Hu, Kangkang Jiang, Yanhang Zhang, Jin Zhu, Canhong Wen and Xueqin Wang.
bsrr
.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | # Generate simulated data
n <- 200
p <- 20
k <- 5
rho <- 0.4
seed <- 10
Tbeta <- rep(0, p)
Tbeta[1:k*floor(p/k):floor(p/k)] <- rep(1, k)
Data <- gen.data(n, p, k, rho, family = "gaussian", beta = Tbeta, seed = seed)
lambda.list <- exp(seq(log(5), log(0.1), length.out = 10))
lm.bsrr <- bsrr(Data$x, Data$y, method = "pgsection")
# generate plots
plot(lm.bsrr)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.