Transform a vector by raising to a power.

pfun(x, pow)

Arguments

x

A numeric vector.

pow

The value of the exponent to which all values are raised.

Value

A numeric vector with same length as x.