C
C
connor742015-11-17 09:35:46
R
connor74, 2015-11-17 09:35:46

How to display numbers in decimal format?

Good morning!
I can't find a solution to my simple question. Essence: I add a column to the dataframe that contains the result of the difference between the other two columns. As a result, the new column is filled with numbers like 4e+07, and so on. A similar problem also occurs when plotting ggplot2.
How can this be defeated?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Ilya Kashnitsky, 2015-11-18
@ikashnitsky

sprintf()to help
?sprintf

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question