I am trying to add the regression line equation and the R square value in a dataset with y axe values in logarithmic scale, like in this excel example:
.
Data frame contains the following data, with 3 variables and 28 obs.:
Method void.ratio permeability_m.s 1 Constant load 1.360 1.82e-05 2 Constant load 1.360 1.79e-05 3 Constant load 1.190 7.74e-06 4 Constant load 1.190 5.15e-06 5 Variable load 1.040 1.57e-06 6 Variable load 1.040 1.71e-06 7 Variable load 1.040 1.57e-06 8 Variable load 1.040 1.71e-06 9 Triaxial test 0.780 3.00e-07 10 Triaxial test 0.780 2.70e-07 11 Oedometric test 1 0.690 1.33e-07 12 Oedometric test 1 0.685 5.84e-08 13 Oedometric test 2 0.697 3.35e-07 14 Oedometric test 2 0.629 2.85e-07 15 Oedometric test 2 0.554 7.75e-08 16 Oedometric test 2 0.526 3.27e-09 17 Oedometric test 2 0.528 4.71e-09 18 Oedometric test 2 0.530 4.72e-09 19 Oedometric test 2 0.534 6.70e-09 20 Oedometric test 3 0.705 1.34e-07 21 Oedometric test 3 0.648 1.23e-07 22 Oedometric test 3 0.574 8.29e-08 23 Oedometric test 3 0.530 8.77e-08 After running the following code I only obtain the regression line, but I am not able to obtain the regression equation and the R square value.
R code:
plot_lab_permeability2<- ggplot(Lab_permeability2,aes(void.ratio, permeability_m.s))+ geom_point(size=3,aes(shape = Method, colour = Method))+ geom_smooth(method="lm",formula= (y ~ x), se=FALSE, linetype = 8,color="grey") + scale_shape_manual("",breaks = c("Constant load","Variable load","Triaxial test","Oedometric test 1","Oedometric test 2","Oedometric test 3"), values=c("Constant load"=15,"Variable load"=17,"Triaxial test"=18,"Oedometric test 1"=16,"Oedometric test 2"=16,"Oedometric test 3"=16))+ scale_colour_manual("",breaks = c("Constant load","Variable load","Triaxial test","Oedometric test 1","Oedometric test 2","Oedometric test 3"), values = c("Constant load"="darkblue","Variable load"="blue","Triaxial test"="darkgreen","Oedometric test 1"="darkred","Oedometric test 2"="red","Oedometric test 3"="orange"))+ scale_y_continuous(limits = c((1e-9),(1e-4)), trans="log10") + labs(x=expression ("Void ratio (-)"),y = expression ("Saturated hydraulic conductivity (m/s)"),title="") + theme_bw() This is the generated plot: 
I have been reading similar questions and trying differents approaches, but after hours trying, I am not able to find the solution.
Any help will be highly appreciated.

