This function allows interactive selection of a range to be extracted from an object of class Wave or class WaveMC.
The default is to use interactive selection if the current R session is interactive.
In case of interactive selection, plot-methods plot the Wave or WaveMC object,
and the user may click on the starting and ending points of his selection (given neither from nor to
have been specified, see below).
The cut-points are drawn and the corresponding selection will be returned in form of a Wave or WaveMC object.
Setting interact = TRUE in a non-interactive session does not work.
Setting arguments from or to explicitly means that the specified one
does not need to be selected interactively, hence only the non-specified one will be selected interactively.
Moreover, setting both from or to implies interact = FALSE.