Learn R Programming

phylosim (version 3.0.5)

getSizes.DiscreteDeletor: Get the sizes of the proposed deletions

Description

Get the sizes of the proposed deletions.

Usage

# S3 method for DiscreteDeletor
getSizes(this, ...)

Arguments

this

A DiscreteDeletor object.

...

Not used.

Value

A vector of integers.

See Also

For more information see DiscreteDeletor.

Examples

Run this code
# NOT RUN {
	# create a DiscreteDeletor object
	d<-DiscreteDeletor(rate=1)
	# set deletion sizes    
	setSizes(d,c(1,2,3))
	# get deletion sizes
	getSizes(d)
	# set/get sizes via virtual field
	d$sizes<-1:10
	d$sizes
 
# }

Run the code above in your browser using DataLab