Math Group Method for ptable Objects

DESCRIPTION:

This is a group method for functions of the Math group.

USAGE:

fun(object, ...) 

REQUIRED ARGUMENTS:

object
any object for which the relevant function, fun, from the Math group, inherits from class "ptable".

OPTIONAL ARGUMENTS:

...
any optional arguments to the relevant generic function.

VALUE:

a ptable object, each coefficient of which will have been transformed by the generic function. The attribute pcosts will be set to NULL.

DETAILS:

This is a group method for the functions of the Math group ( sin(), log(), round() , etc), which are essentially all functions that return a one-to-one numerical transformation of their (numeric) argument.

EXAMPLES:

xx <- make.signal("bumps") 
ww <- wp.table(xx) 
sqrt(abs(ww))              # square-root of a wp.table