integral | R Documentation |
Computes the integral of a function or spatial object.
integral(f, domain=NULL, ...)
f |
A function, or a spatial object that can be treated as a function. |
domain |
Optional. Data specifying the domain of integration. |
... |
Arguments passed to methods. |
The function integral
is generic.
It calculates the integral of a function, or
the integral of a spatial object that can be treated as a function.
It has methods
for one-dimensional functions ("density"
, "fv"
)
and for spatial objects
("im"
, "msr"
, "linim"
, "linfun"
).
A single numeric or complex value, or a vector of such values.
.
integral.im
,
integral.density
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.