core: Extracts the center of a vector

Description Usage Arguments

View source: R/cwt_wst.R

Description

This function is an internal function which extracts from a vector x, the center of the vector of length n. It emulates the Matlab(R) function wkeep. This function is used by the cwt_wst function when the HAAR wavelet is selected.

Usage

1
core(x,n)

Arguments

x

A vector from wich the center is extracted.

n

Numeric. The length of the center of x.


wavScalogram documentation built on July 23, 2021, 9:07 a.m.