setRateParamList.T92: Set the rate parameters

Description Usage Arguments Value Author(s) See Also Examples

Description

Set the rate parameters.

The rate parameters are: Alpha, Beta.

Usage

1
2
## S3 method for class 'T92'
setRateParamList(this, value, ...)

Arguments

this

A T92 object.

value

A list containing the rate parameters.

...

Not used.

Value

The list of rate parameters (invisible).

Author(s)

Botond Sipos, Gregory Jordan

See Also

For more information see T92.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
       # 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)
 

phylosim documentation built on Nov. 22, 2019, 1:07 a.m.