Description Usage Arguments Value Author(s) See Also Examples
These functions are provided for convenience.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | ## S4 method for signature 'numeric'
mean_sd(x, na.rm = TRUE, ...)
## S4 method for signature 'matrix'
mean_sd(x, na.rm = TRUE, ...)
## S4 method for signature 'hyperSpec'
mean_sd(x, na.rm = TRUE, ...)
## S4 method for signature 'numeric'
mean_pm_sd(x, na.rm = TRUE, ...)
## S4 method for signature 'matrix'
mean_pm_sd(x, na.rm = TRUE, ...)
## S4 method for signature 'hyperSpec'
mean_pm_sd(x, na.rm = TRUE, ...)
## S4 method for signature 'hyperSpec'
mean(x, na.rm = TRUE, ...)
## S4 method for signature 'hyperSpec'
quantile(x, probs = seq(0, 1, 0.5), na.rm = TRUE,
names = "num", ...)
|
x |
a numeric vector |
na.rm |
handed to |
... |
ignored (needed to make function generic) |
probs |
the quantiles, see |
names |
|
mean_sd
returns a vector with two values (mean and standard
deviation) of x
.
mean_sd (matrix)
returns a matrix with the mean spectrum in the first row and the standard deviation in the 2nd.
mean_sd
returns a hyperSpec object with the mean spectrum in the first row and the standard deviation in the 2nd.
mean_pm_sd
returns a vector with 3 values: mean - 1 sd, mean, mean + 1 sd
mean_pm_sd (matrix)
returns a matrix containing mean - sd, mean, and mean + sd
rows.
For hyperSpec objects, mean_pm_sd
returns a hyperSpec object containing mean - sd,
mean, and mean + sd spectra.
For hyperSpec object, mean
returns a hyperSpec object containing the mean
spectrum.
For hyperSpec object, quantile
returns a hyperSpec object containing the
respective quantile spectra.
C. Beleites
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.