Learn R Programming

phylosim (version 3.0.5)

getRateParam.T92: 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 T92
getRateParam(this, name, ...)

Arguments

this

A T92 object.

name

The name of the rate parameter.

...

Not used.

Value

A numeric vector of length one.

See Also

For more information see T92.

Examples

Run this code
# NOT RUN {
       # construct a T92 object
       p<-T92();
       # 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