Plotting methods for generator objects of classes
The plot shows the (transformed) density, hat and squeeze.
## S3 method for class 'Tinflex' plot(x, from, to, is.trans=FALSE, n=501, ...) ## S3 method for class 'TinflexC' plot(x, from, to, is.trans=FALSE, n=501, ...)
an object of class
the range over which the function will be plotted. (numeric)
the number of x values at which (transformed) PDF to evaluate. (integer)
arguments to be passed to methods, such as graphical
This is the
It plots the given density function (blue) in the
to) as well as hat function (red) and
squeeze (green) of the acceptance-rejection algorithm.
is.trans is set to
TRUE, then density function, hat
and squeeze are plotted on the transformed scale.
Notice that the latter only gives a sensible picture if parameter
cT is the same for all intervals.
Josef Leydold firstname.lastname@example.org, Carsten Botts and Wolfgang Hörmann.
Tinflex.setup for examples.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.