Displaying 1 result from an estimated 1 matches for "vmibeta".
Did you mean:
mibeta
2013 Apr 12
1
A strange behaviour in the graphical function "curve"
I thought the curve function was a very flexible way to draw functions. So I
could plot funtions like the following:
# I created a function to produce functions, for instance:
fp <- function(m,b) function(x) sin(x) + m*x + b
# So I can produce a function like this
ff <- fp(-0.08, 0.2)
ff(1.5)
# Is the same as executing
sin(1.5) - 0.08*1.5 + 0.2
# Let's plot this