core: Extracts the center of a vector

View source: R/cwt_wst.R

coreR Documentation

Extracts the center of a vector

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

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 June 22, 2024, 11:06 a.m.