10 - Selecting & Summarizing Column(s) Stats in one step with Julia and R #shorts
Alex Tantos
#shorts To select a specific column, tidyverse uses, fair enough, the select() function. Notice that the resulting output is ordered alphabetically. To calculate some basic statistics of a selected numeric column, you can use summary(). Julia offers its own select() function and you need to combine it with the sort!() function to get the same output with R's select(), while for basic summary statistics, describe() displays a richer set of information, since apart from the quartile and the mean it also include the number of missing values and the numeric type of the column.
Link to the ikea dataset: https://raw.githubusercontent.com/rfordatascience/tidytuesday/master/data/2020/2020-11-03/ikea.csv
Ladies Freiburg (Kyla McConnell and Julia Müller) - Tidy Data: Zero to sHero {Part 2}: https://www.youtube.com/watch?v=ivSgLWKhNrw
R-Ladies material on github: https://github.com/rladies/meetup-presentations_freiburg/tree/master/2021-02-17_tidydata_ZerotoShero ... https://www.youtube.com/watch?v=44pZE-3qrWA
3336298 Bytes