powered by
Get the exponent of any number or numbers
get_exponent(y = NULL, x = NULL)
A data.frame object showing the value,power and result
The number or numeric columns for which an exponent is required
The power to which y is raised
Depends on the expo and expo1 functions in expo
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