You can use the mutate_at
function from the dplyr
package in R to convert columns from scientific notation to regular notation. One way to achieve this is by using the format
function within mutate_at
.
Here's an example demonstrating how to use mutate_at
to convert columns from scientific notation to regular notation:
314 chars14 lines
In this example, the columns x
and y
from the df
data frame are converted from scientific notation to regular notation using mutate_at
and format
functions.
Make sure to adjust the column names and dataset according to your specific requirements.
gistlibby LogSnag