Smoothing {mgc}R Documentation

An auxiliary function that finds the smoothed maximal within the significant region R: If area of R is too small, return the last local corr otherwise take the maximum within R.

Description

An auxiliary function that finds the smoothed maximal within the significant region R: If area of R is too small, return the last local corr otherwise take the maximum within R.

Usage

Smoothing(localCorr, m, n, R)

Arguments

localCorr

is all local correlations

m

is the number of rows of localCorr

n

is the number of columns of localCorr

R

is a binary matrix of size m by n indicating the significant region.

Value

A list contains the following:

stat

is the sample MGC statistic within [-1,1]

optimalScale

the estimated optimal scale as a list.

Author(s)

C. Shen


[Package mgc version 2.0.2 Index]