I want to point out a think about the axis limits. It's preferable to use the fuction coord_cartesian() and chage the argument "ylim ="; that way it's not necesary to use a subset to plot the not displayed data and we avoid create warning messanges.
That's a very good point, thank you Daniel! I only learned about that technique later on, and although the solution in the video will be acceptable for a point geometry, it will be more problematic with other geometries, e.g. removing an entire bar rather than cutting it when using geom_bar() or geom_col(). Thanks again for pointing that out!
This playlist is mandatory for R beginners. I had a HARD TIME trying to build my first project because I did not know how tidyverse library works. Now I realize how simples it is si, how much code I write ahhaha. Now everything makes so much sense. The data manipulation takes so much time! And it is tempting to just go to excel do stuff Thank you!
Can't thank you enough for such a clear tutorial. I am going to binge the playlist. Bless also the person who created esquisse too. Lots of love from Haiti!
You can replace all zeros with NA values (that's how R usually deals with missing or invalid data in dataframes). This replacement by logical indexing should work (where "exp_df" is your dataframe): exp_df[exp_df == 0]
getting this error when opening esquisse : > esquisse:::esquisser() Error in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]) : namespace ‘ellipsis’ 0.3.1 is already loaded, but >= 0.3.2 is required
Hi Rajat! First, of all, try with a fresh R session (close and reopen RStudio). If that fails, try to update your packages, or reinstall the ellipsis package on its own. See if that fixes it (or reveals another problem).
Hi Ramil! I'm not sure what the issue might be, but I would recommend the following: getting the latest version of R, getting the latest version of RStudio, and updating your packages. After restarting RStudio, see if the error persists. All the best!
#Help, in the histogram that you produced, what count does the y axis represent? It shall be population ideally, but that is in millions and not in hundreds, so what does that y axis indicate there?
Hi Rajat! The y axis in the histogram is a count of how many rows in the table fall in the corresponding bin. The idea of a histogram is to visualise the distribution of continuous data, therefore it divides the range into bins (i.e. the bars), and the height of the bar is "how many values fall in this section of the range". You can find a more detailed description of histograms on Wikipedia: en.wikipedia.org/wiki/Histogram
Huy Nguyen: glad you enjoyed it! If you are looking for more workshops, all our R videos are in our playlist: ru-vid.com/group/PLmDEaZ20fWqCypV7S-trCPtVefHk4e0bU
The base packages like base, stats, methods, graphics, utils... etc. should be loaded when a new R session is started, as they are essential to the basic functioning or R, which shouldn't be different between 3.5 and 3.6. Are you sure you can't see anything ticked in your list of packages, under the "System Library" heading? You might also have to refresh with the grey circle arrow in the top right of the panel. It is true however that none of the user-installed packages (e.g. ggplot2) should load when starting R / creating a new project.