lim | R Documentation |
Limit of a function
lim(f, var, val, dir = NULL, doit = TRUE)
f |
Function to take limit of |
var |
Variable to take limit for (either string or |
val |
Value for |
dir |
Direction from where |
doit |
Evaluate the limit immediately (or later with |
if (has_sympy()) {
x <- symbol("x")
lim(sin(x)/x, "x", 0)
lim(1/x, "x", 0, dir = '+')
lim(1/x, "x", 0, dir = '-')
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.