This function creates a plot of the First-Passage-Time Location (FPTL) function for a first-passage-time problem, displaying the information of interest contained in an object of class “fptl” and a corresponding object of class “summary.fptl”.
an object of class “fptl”, a result of a call to FPTL.
sfptl
an object of class “summary.fptl”, a result of applying the summary method to the x
object.
from.t0
a logical value indicating whether the FPTL function should be plotted from the lower end of the
interval considered, t0, specified in the x object.
to.T
a logical value indicating whether the approximation should be plotted to the upper end of the
interval considered, T, specified in the x object.
dp.legend
logical. If TRUE, adds a legend to the plot in order to identify the diffusion process
and boundary used in the call to FPTL function which in turn generated the x object.
dp.legend.cex
the magnification to be used for legend relative to the current setting of cex.
ylab
logical. If TRUE, adds a title for the y axis.
growth.points
logical. If TRUE, adds one or more vertical lines and labels to the plot in order to identify
the time instants from which the FPTL function starts growing.
instants
logical. If TRUE, draws and identify the other points of interest provided by the FPTL function.
...
graphical parameters to set before generating the plot, see par.
Details
If the sfptl object is missing, the function makes an internal call to the summary.fptl function in order to identify the points of interest provided by the FPTL function.
If the FPTL function shows at least a local maximum and from.t0 = FALSE, the FPTL function should be plotted from the first time instant from which the function starts growing.
If the FPTL function shows at least a local maximum and to.T = FALSE, the FPTL function should be plotted to the tmax[m]^+ value related to the last local maximum tmax[m] if the function does not decrease subsequently, or to the local minimum following the last local maximum tmax[m] if the function decreases subsequently.
If dp.legend = TRUE, a legend is placed in the top inside of the plot frame.
Additional graphical arguments as cex, lwd and ps can be specified.