R/ConcentrationParameter3D.R

ConcentrationParameter3D <- function (coord) 
{
    x <- coord[, 1]
    y <- coord[, 2]
    z <- coord[, 3]
    n_elements = length(x)
    mean_module = (MeanModule3D(coord))
    parameter = (n_elements - 1)/(n_elements * (1 - mean_module))
    return(parameter)
}

Try the VecStatGraphs3D package in your browser

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

VecStatGraphs3D documentation built on May 1, 2019, 8:03 p.m.