Learn R Programming

cocoreg (version 0.1.1)

vector_variability: Compute "variance" of the vectors var()

Description

Compute "variance" of the vectors var()

Usage

vector_variability(vec_lst, mean_vec = apply(abind::abind(vec_lst, along = 2),
  1, mean))

Arguments

vec_lst
Data to process as a list of numeric vectors
mean_vec
(optional) Desired mean vector as a numeric vector

Value

Variance of data values around mean as a numeric matrix