Learn R Programming

phylosim (version 3.0.5)

getRateParam.K81: Get the value of a rate parameter

Description

Get the value of a rate parameter.

The rate parameters are: Alpha, Beta, Gamma.

Usage

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

Arguments

this

A K81 object.

name

The name of the rate parameter.

...

Not used.

Value

The value of the rate parameter.

See Also

For more information see K81.

Examples

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

Run the code above in your browser using DataLab