plot.regional_mix_stab | R Documentation |
For increasing size of hold-out samples, cooks distance and predictive log-likelihood are plotted.
## S3 method for class 'regional_mix_stab'
plot(x, y, minWidth = 1, ncuts = 111, ylimmo = NULL, ...)
x |
x-axis |
y |
y-axis |
minWidth |
min width of cuts/binning |
ncuts |
number of cuts/bins to make |
ylimmo |
limit of y-axis |
\dots |
additional plotting calls |
## Not run:
#not run as R CMD check complains about the time taken.
#This code will take a little while to run (about 3.5minutes on my computer)
system.time({
my.registab <- stability.regional_mix( fm, oosSizeRange=seq( from=1,to=fm$n\
times=fm$n, mc.cores=2, doPlot=FALSE);
plot( my.registab, minWidth=1, ncuts=15);
})
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.