Description Usage Arguments Value Author(s) See Also Examples
Set the size of the acceptance window
This parameter determines the number of sites neighbouring the position (from left and right) of the insertion considered when accepting/rejecting a proposed insertion. The "insertion.tolerance" parameter is retrived from sites falling in the window specified by this parameter. The default value is 1, so the two neighbouring sites are considered by default.
1 2 | ## S3 method for class 'GeneralInsertor'
setAcceptWin(this, value, ...)
|
this |
A GeneralInsertor object. |
value |
An integer vector of length one. |
... |
Not used. |
The new value.
Botond Sipos, Gregory Jordan
For more information see GeneralInsertor
.
1 2 3 4 5 6 7 8 9 10 11 12 | # create a GeneralInsertor object
i<-GeneralInsertor(rate=0.5);
# get acceptance window size
getAcceptWin(i)
# get acceptance window size via virtual field
i$acceptWin
# set acceptance window size
setAcceptWin(i,2)
# set acceptance window size via virtual field
i$acceptWin<-3
i$acceptWin
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.