Learn R Programming

phylosim (version 3.0.5)

plot.DiscreteInsertor: Plot the insertion length distribution

Description

Plot the insertion length distribution.

Usage

# S3 method for DiscreteInsertor
plot(x, ...)

Arguments

x

A DiscreteInsertor object.

...

Not used.

Value

The DiscreteInsertor object (invisible).

See Also

For more information see DiscreteInsertor.

Examples

Run this code
# NOT RUN {
       i<-DiscreteInsertor(
               name="MyDiscIns",
               sizes=1:6,
               probs=c(0.25000000, 0.16666667, 0.08333333, 0.08333333, 0.16666667, 0.25000000)
       )
       # plot the insertion length distribution
       plot(i)
 
# }

Run the code above in your browser using DataLab