Learn R Programming

phylosim (version 3.0.5)

getSizes.DiscreteInsertor: Get the sizes of the proposed insertions

Description

Get the sizes of the proposed insertions.

Usage

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

Arguments

this

A DiscreteInsertor object.

...

Not used.

Value

A vector of integers.

See Also

For more information see DiscreteInsertor.

Examples

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

Run the code above in your browser using DataLab