Learn R Programming

phylosim (version 3.0.5)

getRateParam.GTR: Get the value of a rate parameter

Description

Get the value of a rate parameter.

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

Usage

# S3 method for 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.

See Also

For more information see GTR.

Examples

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

Run the code above in your browser using DataLab