Displaying 1 result from an estimated 1 matches for "substitiu".
Did you mean:
substitiue
2001 Apr 30
2
plotting an expression
..., nomatch = 0)))
stop("'expr' must be a function or an expression containing
'x'")
# expr <- sexpr
if (is.null(ylab))
ylab <- deparse(sexpr)
}
lims <- if (is.null(xlim))
< ... >
This is confusing, since
substitiue(expression(cos(x)))
returns just
expression(cos(x)).
Must be some side effects I do not understand. What is even more confusing
is that the above code (with one line commented out) does not work when
called as
curve(parse(text="cos(x)"))
although
parse(text="co...