setRateParam.K81: Set the value of a rate parameter

Description Usage Arguments Value Author(s) See Also Examples

Description

Set the value of a rate parameter.

The rate parameters are: Alpha, Beta, Gamma.

Usage

1
2
## S3 method for class 'K81'
setRateParam(this, name, value, ...)

Arguments

this

A K81 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).

Author(s)

Botond Sipos, Gregory Jordan

See Also

For more information see K81.

Examples

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


Search within the phylosim package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.