R/RcppExports.R

Defines functions getScatterMatrix

Documented in getScatterMatrix

# Generated by using Rcpp::compileAttributes() -> do not edit by hand
# Generator token: 10BE3573-1514-4C36-9D1C-5A225CD40393

#'Get the matrix of optimized scatters used in locating the change points.
#'
#'@param II_ A D x N matrix where D is the maximum no. of segments (Kmax+1) and N is the no. of windows
#'@param X_ An N x r dataframe where N is the no. of windows and r the no. of running statistics monitored
#'@param H_ A D x N matrix where D is the maximum no. of segments (Kmax+1) and N is the no. of windows
#'
#'@return \item{II}{A matrix of optimized scatters}
#'@return \item{H}{A matrix of candidate changes point locations}
#'@return \item{medianK}{Median of the pairwise Euclidean distances}
getScatterMatrix <- function(II_, X_, H_) {
    .Call('_kcpRS_getScatterMatrix', PACKAGE = 'kcpRS', II_, X_, H_)
}

Try the kcpRS package in your browser

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

kcpRS documentation built on Oct. 25, 2023, 5:07 p.m.