Description Usage Arguments Examples
View source: R/1-base-functions.R
Convert an bmop object to a function
1 2 | ## S3 method for class 'bmop'
as.function(x, MIN = 0, ...)
|
x |
an bmop object |
MIN |
non negative number, MIN value for evaluation of x |
... |
compatibility with |
1 2 3 4 5 | bmop<-bmop_fit(rnorm(100))
fun<-as.function(bmop)
fun(0)
fun(3)
plot(fun,from=-2,to=+2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.