var: Variance

View source: R/stats_function_overloads.R

varR Documentation

Variance

Description

var computes the variance spectrum. Note that values will not reflect value anymore, but the variance of the value instead.

Usage

var(x, y = NULL, na.rm = FALSE, use)

Arguments

x

a numeric vector, matrix or data frame

y

NULL (default) or a vector, matrix or data frame with compatible dimensions to x.

na.rm

logical. Should missing values be removed?

use

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"

Value

variance


annakat/spectrolab documentation built on Oct. 14, 2023, 1:16 a.m.