Learn R Programming

phylosim (version 3.0.5)

plot.DiscreteDeletor: Plot the deletion length distribution

Description

Plot the deletion length distribution.

Usage

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

Arguments

x

A DiscreteDeletor object.

...

Not used.

Value

The DiscreteDeletor object (invisible).

See Also

For more information see DiscreteDeletor.

Examples

Run this code
# NOT RUN {
	d<-DiscreteDeletor(
		name="MyDiscDel",
		sizes=1:6,
		probs=c(0.25000000, 0.16666667, 0.08333333, 0.08333333, 0.16666667, 0.25000000)
	)
	# plot the deletion length distribution
	plot(d)
 
# }

Run the code above in your browser using DataLab