Learn R Programming

phylosim (version 3.0.5)

getRateParamList.K80: Get the rate parameters

Description

Get the rate parameters.

The rate parameters are: Alpha, Beta.

Usage

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

Arguments

this

A K80 object.

...

Not used.

Value

The list of rate parameters.

See Also

For more information see K80.

Examples

Run this code
# NOT RUN {
	# create K80 object
	p<-K80()
	# 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)
 
# }

Run the code above in your browser using DataLab