getRateParamList.HKY: Get the rate parameters

Description Usage Arguments Value Author(s) See Also Examples

Description

Get the rate parameters.

The rate parameters are: Alpha, Beta.

Usage

1
2
## S3 method for class 'HKY'
getRateParamList(this, ...)

Arguments

this

An HKY object.

...

Not used.

Value

The list of rate parameters.

Author(s)

Botond Sipos, Gregory Jordan

See Also

For more information see HKY.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
	# create HKY object
	p<-HKY()
	# set/get rate parameters
	setRateParamList(p,list(
		"Alpha"=1,
		"Beta"=0.5
        ))
	getRateParamList(p)
	# set/get rate parameters via virtual field
	p$rateParamList<-list(
		"Alpha"=1,
		"Beta"=3
        )
	p$rateParamList
	# get object summary
	summary(p)
 

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