Learn R Programming

extras (version 0.6.1)

pow: Power

Description

R equivalent to the power function.

Usage

pow(x, n)

Value

A numeric atomic object of x raised to n.

Arguments

x

A numeric atomic object of the base.

n

A numeric atomic object of the exponent.

Details

Wrapper on x^n.

See Also

Other translations: fabs(), ilogit(), ilog(), inv_logit(), invlogit(), log<-(), logit<-(), logit(), phi(), step()

Examples

Run this code
pow(10, 2)

Run the code above in your browser using DataLab