The error message 'could not find function 'scale_y_scientific'' suggests that the function scale_y_scientific() is not recognized. This could be due to the package that contains this function, 'scales', not being loaded or not being installed.

To resolve this issue, you can try installing and loading the scales package. You can do this by running the following code:

install.packages('scales')   # Install the scales package
library('scales')              # Load the scales package

After installing and loading the scales package, you should be able to use the scale_y_scientific() function without any issues.

ggplot2 Error:

原文地址: https://www.cveoy.top/t/topic/p1c7 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录