gistlib
You can convert from scientific notation to regular notation in R using the format function. Here's an example:
format
main.rnum <- 6.022e+23 formatted_num <- format(num, scientific = FALSE) print(formatted_num) 87 chars4 lines
num <- 6.022e+23 formatted_num <- format(num, scientific = FALSE) print(formatted_num)
This will output:
main.r[1] "602200000000000000000000" 31 chars2 lines
[1] "602200000000000000000000"
gistlibby LogSnag