![]() y argument is the variable that is plotted along the y-axis. x argument is the variable that is plotted along the x-axis. The data argument of sm_corr_avgErr requires the variable that stores the data frame that is used to plot the data, which is mtcars. The black point in the middle represents the mean with vertical and horizontal standard errors. Ggplot( data = mtcars, mapping = aes( x = drat, y = mpg)) + geom_point( shape = 21, fill = '#0f993d', color = 'white', size = 3) + sm_corr_avgErr( data = mtcars, x = drat, y = mpg)
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |