Learn R Programming

phylosim (version 3.0.5)

getRateParamList.T92: Get the rate parameters

Description

Get the rate parameters.

The rate parameters are: Alpha, Beta.

Usage

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

Arguments

this

A T92 object.

...

Not used.

Value

The list of rate parameters.

See Also

For more information see T92.

Examples

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