
Last chance! 50% off unlimited learning
Sale ends in
Saves keystrokes for computing anomalies.
Anomaly(x, baseline = seq_along(x), ...)
numeric vector
logical or numerical vector used for subsetting x before computing the mean
other arguments passed to mean
such as na.rm
A numeric vector of the same length as x with each value's distance to the mean.
Other utilities:
JumpBy()
,
Mag()
,
Percentile()
,
logic
# NOT RUN {
# Zonal temperature anomaly
library(data.table)
temperature[, .(lon = lon, air.z = Anomaly(air)), by = .(lat, lev)]
# }
Run the code above in your browser using DataLab