Learn R Programming

phylosim (version 3.0.5)

setRateParam.F84: Set the value of a rate parameter

Description

Set the value of a rate parameter.

The rate parameters are: Kappa.

Usage

# S3 method for F84
setRateParam(this, name, value, ...)

Arguments

this

A F84 object.

name

The name of the rate parameter.

value

A numeric vector of length one.

...

Not used.

Value

The new value of the rate parameter (invisible).

See Also

For more information see F84.

Examples

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

Run the code above in your browser using DataLab