R/func.var.R

func.var = function (functions) 
{
    nrow = dim(functions)[1]
    (nrow - 1) * apply(functions, 2, var) / nrow
}

Try the rainbow package in your browser

Any scripts or data that you put into this service are public.

rainbow documentation built on May 29, 2024, 5:52 a.m.