Learn R Programming

phylosim (version 3.0.5)

setRateMultipliers.Sequence: Set the values of the rate multiplier parameters for a given Process object and a collection of Site object aggregated by a Sequence object

Description

Set the values of the rate multiplier parameters for a given Process object and a collection of Site object aggregated by a Sequence object. This method just calls setParameterAtSites(this=this,process=process,id="rate.multiplier",value=value,index=index) See setParameterAtSites.Sequence for details.

Usage

# S3 method for Sequence
setRateMultipliers(this, process, value, index, ...)

Arguments

this

A Sequence object.

process

A valid Process object.

value

A numeric vector containing the new values of the site-process specific parameter, recycled if shorter than the index vector.

index

An integer vector specifying a set of positions. It is set to 1:seq$length if omitted.

...

Not used.

Value

The Sequence object (invisible).

See Also

setParameterAtSites.Sequence