Learn R Programming

LS2W (version 1.3.6)

Phi1Dname: Return a PhiJ list object style name.

Description

This function returns a character string according to a particular format for naming PhiJ objects.

Usage

Phi1Dname(J, filter.number, family)

Value

A character string containing the name of an object according to a particular naming scheme.

Arguments

J

A negative integer representing the order of the PhiJ object.

filter.number

The index number of the wavelet used to build the PhiJ object.

family

The wavelet family used to build the PhiJ object.

Author

Idris Eckley

Details

Some of the objects computed by PhiJ take a long time to compute. Hence it is a good idea to store them and reuse them. This function generates a name according to a particular naming scheme that permits a search algorithm to easily find the matrices.

Each object has three defining characteristics: its order, filter.number and family. Each of these three characteristics are concatenated together to form a name.

This function performs exactly the same role as rmname except for objects produced by PhiJ.

References

Eckley, I.A., Nason, G.P. and Treloar, R.L. (2010) Locally stationary wavelet fields with application to the modelling and analysis of image texture. Journal of the Royal Statistical Society (Series C), 59, 595 - 616.

Eckley, I.A. and Nason, G.P. (2011). LS2W: Implementing the Locally Stationary 2D Wavelet Process Approach in R, Journal of Statistical Software, 43(3), 1-23. URL http://www.jstatsoft.org/v43/i03/.

Examples

Run this code
#
# What's the name of the order 4 Haar PhiJ object?
#
 Phi1Dname(-4, filter.number=1, family="DaubExPhase")
#[1] "D1Phi.4.1.DaubExPhase"
#
# What's the name of the order 12 Daubechies least-asymmetric wavelet PhiJ
# with 7 vanishing moments?
#
 Phi1Dname(-12, filter.number=7, family="DaubLeAsymm")             
#[1] "D1Phi.12.7.DaubLeAsymm"

Run the code above in your browser using DataLab