getRateParam.GTR: Get the value of a rate parameter

Description Usage Arguments Value Author(s) See Also Examples

Description

Get the value of a rate parameter.

The rate parameters are named as in PAML (see PAML documentation: http://bit.ly/9SQK2f).

Usage

1
2
## S3 method for class 'GTR'
getRateParam(this, name, ...)

Arguments

this

A GTR object.

name

The name of the rate parameter.

...

Not used.

Value

A numeric vector of length one.

Author(s)

Botond Sipos, Gregory Jordan

See Also

For more information see GTR.

Examples

1
2
3
4
5
6
7
8
	# construct a GTR object
	p<-GTR();
	# set/get a rate parameter
	setRateParam(p,"a",4)
	getRateParam(p,"a")
	# get object summary
	summary(p)
 

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