Description Usage Arguments Value Author(s) See Also Examples
Set the rate parameters.
The rate parameters are named as in PAML (see PAML documentation: http://bit.ly/9SQK2f).
1 2 | ## S3 method for class 'GTR'
setRateParamList(this, value, ...)
|
this |
A GTR object. |
value |
A list containing the rate parameters. |
... |
Not used. |
The list of rate parameters (invisible).
Botond Sipos, Gregory Jordan
For more information see GTR
.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | # create GTR object
p<-GTR()
# set/get rate parameters
setRateParamList(p,list(
"a"=1, "b"=2, "c"=3,
"d"=1, "e"=2, "f"=3
))
getRateParamList(p)
# set/get rate parameters via virtual field
p$rateParamList<-list(
"a"=4, "b"=1, "c"=4,
"d"=1, "e"=4, "f"=1
)
p$rateParamList
# get object summary
summary(p)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.