Learn R Programming

capushe (version 1.1.2)

plot-methods: Plot for capushe

Description

The plot methods allow the user to check that the slope heuristics can be applied confidently.

Usage

plot(x,newwindow=TRUE,ask=TRUE) for capushe.

plot(x,newwindow=TRUE) for DDSE and Djump.

Methods

signature(x = "Capushe")

This graphical function displays the DDSE plot and the Djump plot.

signature(x = "DDSE")

This graphical function displays the DDSE plot.

signature(x = "Djump")

This graphical function displays the Djump plot.

Arguments

x

Output of DDSE, Djump or capushe.

newwindow

If newwindow=TRUE, a new window is created for each plot.

ask

If ask=TRUE, plot waits for the user to press a key to display the next plot (only for the class capushe).

Details

The graphical window of DDSE is composed of three graphics (see DDSE for more details):

left

The left plot shows \(-\gamma_n(\hat{s}_m)\) with respect to the penalty shape values.

topright

Successive slope values \(\hat{\kappa}(p)\).

bottomright

The bottomright plot shows the selected models \(\hat{m}(p)\) with respect to the successive slope values. The plateau in blue is selected.

The graphical window of Djump shows the complexity \(C_{m(\kappa)}\) of the selected model with respect to \(\kappa\). \(\hat{\kappa}^{dj}\) corresponds to the greatest jump. \(\kappa_{opt}\) is defined by \(\kappa_{opt}=scoef\times \hat{\kappa}^{dj}\). The red line represents the slope interval computed by the DDSE algorithm (only for capushe). See Djump for more details.