Learn R Programming

wavethresh (version 4.6.1)

wpst2discr: Reshape/reformat packet coefficients into a multivariate data set

Description

The packet coefficients of a nondecimated wavelet packet object are stored internally in an efficient form. This function takes the nondecimated wavelet packets and stores them as a matrix (multivariate data set). Each column in the returned matrix corresponds to an individual packet, each row corresponds to a time index in the original packet or time series.

Usage

wpst2discr(wpstobj, groups)

Arguments

wpstobj
A wpst class object, output from wpst say
groups
A time series containing the group membership at each time point

Value

  • An object of class w2d which is a list containing the following items:
  • mThe matrix containing columns of packet information.
  • groupsPasses through the group argument from input.
  • levelEach column corresponds to a packet, this vector contains the information on which resolution level each packet comes from
  • pktixLike for level but for packet indices
  • nlevelsWTThe number of resolution levels in total, from the wpst object

Details

Description says it all

See Also

makewpstDO, wpst