setRateParamList.HKY: Set the rate parameters

Description Usage Arguments Value Author(s) See Also Examples

Description

Set the rate parameters.

The rate parameters are: Alpha, Beta.

Usage

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

Arguments

this

An HKY object.

value

A list containing the rate parameters.

...

Not used.

Value

The list of rate parameters (invisible).

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.