getSizes.DiscreteDeletor: Get the sizes of the proposed deletions

Description Usage Arguments Value Author(s) See Also Examples

Description

Get the sizes of the proposed deletions.

Usage

1
2
## S3 method for class 'DiscreteDeletor'
getSizes(this, ...)

Arguments

this

A DiscreteDeletor object.

...

Not used.

Value

A vector of integers.

Author(s)

Botond Sipos, Gregory Jordan

See Also

For more information see DiscreteDeletor.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
	# 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
 

phylosim documentation built on Nov. 22, 2019, 1:07 a.m.