Learn R Programming

phylosim (version 3.0.5)

getRateParam.K80: Get the value of a rate parameter

Description

Get the value of a rate parameter.

The rate parameters are: Alpha, Beta.

Usage

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

Arguments

this

A K80 object.

name

The name of the rate parameter.

...

Not used.

Value

A numeric vector of length one.

See Also

For more information see K80.

Examples

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

Run the code above in your browser using DataLab