This function is generic (see Methods); method functions can be written to handle specific classes of data. Classes which already have methods for this function include:
crystal.list, crystal.matrix, crystal.vector, ptable.
pcosts(x, cost.fun="entropy", scale=NULL, thresh=NULL, p=2, prob=.5)
See the printed help file for the definitions of the cost functionals listed below.
Available cost functionals:
Refer to the section "The Best Basis Algorithm" in the S+WAVELETS User's Manual for more details.