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,870 points
181 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,280 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,280 points
74 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,280 points
129 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,870 points
71 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 in Data Analytics by anonymous
• 31,840 points
19 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,870 points
508 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,190 points
53 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,280 points
116 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,870 points
754 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,870 points
445 views