I am currently using the code for stat_poly_eq in ggplot2 and was wondering if there is a way to always get the values on the graph in xe+1? So far it only gives me the Xx10^1 when the value is very high or very low. I would like it to always be in scientific notation for the stat(eq.label).
My code:
ggplot()+
stat_poly_eq(aes(label = paste(stat(eq.label), "*\", \"*",
stat(rr.label), "*\", \"*",
stat(p.value.label), "*\"\"",
sep = "")),
formula = my.formula, parse = TRUE, size = 4)+
Thank you!