Set the rate parameters

Share:

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)
 

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.