var
computes the variance spectrum. Note that values will not reflect
value anymore, but the variance of the value instead.
# S3 method for default
var(x, y = NULL, na.rm = FALSE, use)
variance
a numeric vector, matrix or data frame
NULL (default) or a vector, matrix or data frame with compatible dimensions to x.
logical. Should missing values be removed?
an optional character string giving a method for computing covariances in the presence of missing values. This must be (an abbreviation of) one of the strings "everything", "all.obs", "complete.obs", "na.or.complete", or "pairwise.complete.obs"