R programming: How to compute Euler's number?

0 votes

I'm playing around with R, I want to know how to do this:

e^2 

Dec 28, 2018 by Sophie may
• 9,900 points
255 views

1 answer to this question.

0 votes

The following R statement

exp(1)

indicates e, and

exp(2)

represents e^2.

This will work.

answered Dec 28, 2018 by Tyrion anex
• 8,320 points

Related Questions

0 votes
1 answer

R programming: How to pass variables from a r program to mysql function?

To include the R variables called start.date and end.date, you can use paste to ...READ MORE

answered Dec 28, 2018 in Data Analytics by Tyrion anex
• 8,320 points
91 views
0 votes
1 answer

R Programming: Implement Newton Raphson Algorithm

The problem is that the expressions for f and f1 ...READ MORE

answered Jan 7, 2019 in Data Analytics by Tyrion anex
• 8,320 points
140 views
0 votes
1 answer

R programming: Flip coin simulation

Make use of the ggplot2 package. Start by installing and ...READ MORE

answered Jan 21, 2019 in Data Analytics by Sophie may
• 9,900 points
80 views
0 votes
1 answer

How to edit the labels and limit if a plot using ggplot? - R

Add a limit to axis ticks using ...READ MORE

answered Nov 3, 2019 in Data Analytics by anonymous
• 32,440 points
34 views
0 votes
0 answers

How to use the where clause in R programming?

I'm trying to implement a where clause ...READ MORE

Dec 24, 2018 in Data Analytics by Sophie may
• 9,900 points
668 views
0 votes
1 answer

How to use Euler's number and power operation?

You can refer the math library of ...READ MORE

answered Dec 31, 2018 in Python by SDeb
• 13,230 points
63 views
0 votes
2 answers

How to change the value of a variable using R programming in a data frame?

You are getting this error since the ...READ MORE

answered Aug 16, 2019 in Data Analytics by anonymous
• 32,440 points
1,166 views
0 votes
1 answer

R programming: How to convert Tiff to IMG (ERDAS) format?

This code should work: library(raster) input <- list.files(pattern='tif$') output <- ...READ MORE

answered Jan 16, 2019 in Data Analytics by Tyrion anex
• 8,320 points
158 views
0 votes
1 answer

How to convert JSON into CSV in R programming?

Use the jsonlite::fromJSON to read the data into ...READ MORE

answered Jan 24, 2019 in Data Analytics by Sophie may
• 9,900 points
1,085 views
0 votes
1 answer

How to remove HTML tags from string in R Programming?

Try this simple code to remove the <br ...READ MORE

answered Feb 1, 2019 in Data Analytics by Sophie may
• 9,900 points
605 views