Description Usage Arguments Value Author(s) See Also Examples
Set the length sampling expression.
The length sampling expression can be any valid R expression returning a numeric vector of length one. The value returned by the expression will be rounded.
1 2 |
this |
A ContinuousDeletor object. |
value |
An R expression. |
... |
Not used. |
An R expression object.
Botond Sipos, Gregory Jordan
For more information see ContinuousDeletor
.
1 2 3 4 5 6 7 8 9 10 11 12 13 | # create object
o<-ContinuousDeletor(rate=1)
# set/get length sampling expression
setDist(o, expression(rnorm(1,mean=3, sd=2)))
getDist(o)
# set/get length sampling expression via virtual field
o$dist<-expression(rnorm(1,mean=6,sd=3))
o$dist
# set maxLength
o$maxLength<-10
# propose a length
proposeLength(o)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.