Consider the below vector:
a<-c(0.1324,0.0001234,234.21341324,09.324324)
You can convert it into scientific notation using the “formatC()” function:
formatC(a,format="e")
This result would be as follows:
[1] "1.3240e-01" "1.2340e-04" "2.3421e+02" "9.3243e+00"