Description Usage Arguments Value Author(s) See Also Examples
Get the function used for proposing indel lengths.
1 2 | ## S3 method for class 'GeneralInDel'
getProposeBy(this, ...)
|
this |
A GeneralInDel object. |
... |
Not used. |
A function object.
Botond Sipos, Gregory Jordan
For more information see GeneralInDel
.
1 2 3 4 5 6 7 8 9 10 | # create a GeneralInDel object
# proposing events with a constant length of 5
o<-GeneralInDel(rate=1, propose.by=function(process){return(5)});
# set/get the proposeBy function
setProposeBy(o,value=function(process){return(6)})
getProposeBy(o)
# set/get proposeBy function via virtual field
o$proposeBy<-function(process){return(3)}
o$proposeBy
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.