Learn R Programming

phylosim (version 3.0.5)

getRateParamList.K81: Get the rate parameters

Description

Get the rate parameters.

The rate parameters are: Alpha, Beta, Gamma.

Usage

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

Arguments

this

A K81 object.

...

Not used.

Value

The list of rate parameters.

See Also

For more information see K81.

Examples

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

Run the code above in your browser using DataLab