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,530 points
91 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,270 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,270 points
67 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 in Data Analytics by Tyrion anex
• 8,270 points
117 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 in Data Analytics by Sophie may
• 9,530 points
57 views
0 votes
0 answers

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

How to edit the labels and limit ...READ MORE

Jul 15 in Data Analytics by piyush
12 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,530 points
388 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,160 points
39 views
0 votes
2 answers
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 in Data Analytics by Tyrion anex
• 8,270 points
89 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 in Data Analytics by Sophie may
• 9,530 points
453 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 in Data Analytics by Sophie may
• 9,530 points
258 views