Learn R Programming

manymodelr (version 0.3.9)

get_exponent: Get the exponent of any number or numbers

Description

Get the exponent of any number or numbers

Usage

get_exponent(y = NULL, x = NULL)

Value

A data.frame object showing the value,power and result

Arguments

y

The number or numeric columns for which an exponent is required

x

The power to which y is raised

Details

Depends on the expo and expo1 functions in expo

Examples

Run this code
df<-data.frame(A=c(1123,25657,3987))
get_exponent(df,3)
get_exponent(1:5, 2)

Run the code above in your browser using DataLab