Description Usage Arguments Details Value Author(s) References See Also Examples
Plot the crossvalidation curve with its upper and lower standard deviation curves.
1 2 
x 
fitted 
xlab 
what is on the Xaxis,

trim 
logical; whether to use the trimmed result.
Default is 
... 
other graphical parameters. 
A crossvalidation curve is produced.
No return value. Side effect is a base R plot.
Zhe Sun and Kun Chen
Lin, W., Shi, P., Peng, R. and Li, H. (2014) Variable selection in regression with compositional covariates, https://academic.oup.com/biomet/article/101/4/785/1775476. Biometrika 101 785979.
cv.compCL
and compCL
,
and coef
and plot
methods
for "cv.compCL"
object.
1 2 3 4 5 6 7 8 9  p = 30
n = 50
beta = c(1, 0.8, 0.6, 0, 0, 1.5, 0.5, 1.2)
beta = c(beta, rep(0, times = p  length(beta)))
Comp_data = comp_Model(n = n, p = p, intercept = FALSE)
cvm1 < cv.compCL(y = Comp_data$y, Z = Comp_data$X.comp,
Zc = Comp_data$Zc, intercept = Comp_data$intercept)
plot(cvm1)
plot(cvm1, xlab = "log")

Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.