If no limits are provided, the indefinite integral is calculated. Otherwise, if both limits are provided, the definite integral is calculated.
int(f, var, lower, upper, doit = TRUE)
Function to integrate
Variable to integrate with respect to (either string or caracas_symbol
)
Lower limit
Upper limit
Evaluate the integral immediately (or later with doit()
)