Learn R Programming

phylosim (version 3.0.5)

plot.ContinuousInsertor: Plot the density of proposed lengths

Description

Plot the density of proposed lengths.

Usage

# S3 method for ContinuousInsertor
plot(x, sample.size=NA, ...)

Arguments

x

A ContinuousInsertor object.

sample.size

Number of lengths sampled for the plot.

...

Not used.

Value

The process object (invisible).

See Also

For more information see ContinuousInsertor.

Examples

Run this code
# NOT RUN {
	# create object
	o<-ContinuousInsertor(rate=1)
	# set length sampling expression via virtual field
	o$dist<-expression(rnorm(1,mean=10,sd=4))
	# set maxLength
	setMaxLength(o, 30)
	# plot density
	plot(o)
 
# }

Run the code above in your browser using DataLab