Description Usage Arguments Value Author(s) Examples
View source: R/bloodPerfusionSVD.R
Given a vector (or a matrix) representing a curve (or set of curves, columnwise), the area (or set of areas) is calculated using the trapezoidal rule.
1 | trapz(x, y)
|
x |
vector of samples for the dependent variable. |
y |
vector or matrix of samples for the independent variable. In the case of the latter, curves are organized column-wise. |
area (areas) under the sampled curve (curves).
Tustison NJ
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.