stats (version 3.6.2)

# power: Create a Power Link Object

## Description

Creates a link object based on the link function $$\eta = \mu ^ \lambda$$.

## Usage

power(lambda = 1)

lambda

a real number.

## Value

A list with components linkfun, linkinv, mu.eta, and valideta. See make.link for information on their meaning.

## Details

If lambda is non-positive, it is taken as zero, and the log link is obtained. The default lambda = 1 gives the identity link.

## References

Chambers, J. M. and Hastie, T. J. (1992) Statistical Models in S. Wadsworth & Brooks/Cole.

make.link, family

To raise a number to a power, see Arithmetic.

To calculate the power of a test, see various functions in the stats package, e.g., power.t.test.

## Examples

Run this code
# NOT RUN {
power()
# }


Run the code above in your browser using DataCamp Workspace