Learn R Programming

phylosim (version 3.0.5)

getRateParam.TN93: Get the value of a rate parameter

Description

Get the value of a rate parameter.

The rate parameters are: Alpha1, Alpha2, Beta.

Usage

# S3 method for TN93
getRateParam(this, name, ...)

Arguments

this

A TN93 object.

name

The name of the rate parameter.

...

Not used.

Value

A numeric vector of length one.

See Also

For more information see TN93.

Examples

Run this code
# NOT RUN {
	# construct a TN93 object
	p<-TN93();
	# set/get a rate parameter
	setRateParam(p,"Beta",4)
	getRateParam(p,"Beta")
	# get object summary
	summary(p)
 
# }

Run the code above in your browser using DataLab