View source: R/084_atoms_ptp.R
| ptp | R Documentation |
Computes the range of values along an axis: max(x) - min(x).
The result is always nonnegative.
ptp(x, axis = NULL, keepdims = FALSE)
x |
An Expression or numeric value. |
axis |
NULL (all), 0 (columns), or 1 (rows). |
keepdims |
Logical; keep reduced dimension? |
An Expression representing max(x) - min(x).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.