R/centre.R

Defines functions centre

Documented in centre

centre <- function(x, type)
{
    switch(type, mean = func.mean(t(x)), var = func.var(t(x)),
                 median = depth.FM_fun(t(x))$median,
                 trimmed = depth.FM_fun(t(x))$mtrim)
}

Try the ftsa package in your browser

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

ftsa documentation built on May 29, 2024, 2:47 a.m.