Learn R Programming

phylosim (version 3.0.5)

getRateParamList.TN93: Get the rate parameters

Description

Get the rate parameters.

The rate parameters are: Alpha1, Alpha2, Beta.

Usage

# S3 method for TN93
getRateParamList(this, ...)

Arguments

this

A TN93 object.

...

Not used.

Value

The list of rate parameters.

See Also

For more information see TN93.

Examples

Run this code
# NOT RUN {
	# create TN93 object
	p<-TN93()
	# set/get rate parameters
	setRateParamList(p,list(
		"Alpha1"=1,
		"Alpha2"=2,
		"Beta"=0.5
        ))
	getRateParamList(p)
	# set/get rate parameters via virtual field
	p$rateParamList<-list(
		"Alpha1"=1,
		"Alpha2"=1,
		"Beta"=3
        )
	p$rateParamList
	# get object summary
	summary(p)
 
# }

Run the code above in your browser using DataLab