setRateParamList.K81: Set the rate parameters

Description Usage Arguments Value Author(s) See Also Examples

Description

Set the rate parameters.

The rate parameters are: Alpha, Beta, Gamma.

Usage

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

Arguments

this

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

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
	# create K81 object
	p<-K81()
	# set/get rate parameters
	setRateParamList(p,list(
		"Alpha"=1,
		"Beta"=0.5,
		"Gamma"=2
        ))
	getRateParamList(p)
	# set/get rate parameters via virtual field
	p$rateParamList<-list(
		"Alpha"=1,
		"Beta"=3,
		"Gamma"=2
        )
	p$rateParamList
	# 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.