plot.regional_mix_stab: Diagnostic plotting to see if RCP groups are stable

plot.regional_mix_stabR Documentation

Diagnostic plotting to see if RCP groups are stable

Description

For increasing size of hold-out samples, cooks distance and predictive log-likelihood are plotted.

Usage

## S3 method for class 'regional_mix_stab'
plot(x, y, minWidth = 1, ncuts = 111, ylimmo = NULL, ...)

Arguments

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

Examples

## 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)

skiptoniam/ecomix documentation built on Sept. 14, 2023, 6:04 a.m.