filmov
tv
Beautiful Charts with R & ggplot2 (Step-By-Step Tutorial for Beginners)

Показать описание
FULL CODE AND DESCRIPTION:
DESCRIPTION:
ggplot2 is an incredibly powerful tool to create great charts with R. But it has a bit of a learning curve. This tutorial shows you everything you need to know to get started with ggplot in 45 minutes
FULL CODE:
WANT TO GET EVEN BETTER?
LINKS TO THINGS I'VE MENTIONED:
MORE VIDEOS
MORE CONTENT
#rstats #dataviz #ggplot2
TIMECODES
00:00 Intro
00:30 First Chart
01:43 What the heck is aes()?
03:50 Why coordinates in aes() & scales?
05:07 Use a real data set
06:19 Set aesthetics to fixed values
07:20 Make color dependent on data
09:30 Avoid code repetition
10:12 Nicer labels & titles
10:58 theme_*() layer and font size
11:38 theme() function: using values for changes
12:50: theme() function: using elements
15:29: Try out scales
16:21 Our first bar chart
17:50 Statistical transformations
19:00 Trying to work with statistical transformation
20:30 Identical statistical transformation
21:20 Creating a histogram with a stat_* layer
22:40 Connection between stat and geom layers
24:10 Easier layers without touching stat
24:45 Add labels to bar chart
27:00 Formatting the labels
27:45 Change color of bars
28:40 Remove more duplicate code
29:40 Split histogram by sex
31:30 Change positioning of colored histograms
33:03 More position changes (dodge and jitter)
35:44 Use multiple windows for different histograms
37:00 Putting it all together with a new data set
44:20 How to learn more?
45:02 Shameless plug & outro
DESCRIPTION:
ggplot2 is an incredibly powerful tool to create great charts with R. But it has a bit of a learning curve. This tutorial shows you everything you need to know to get started with ggplot in 45 minutes
FULL CODE:
WANT TO GET EVEN BETTER?
LINKS TO THINGS I'VE MENTIONED:
MORE VIDEOS
MORE CONTENT
#rstats #dataviz #ggplot2
TIMECODES
00:00 Intro
00:30 First Chart
01:43 What the heck is aes()?
03:50 Why coordinates in aes() & scales?
05:07 Use a real data set
06:19 Set aesthetics to fixed values
07:20 Make color dependent on data
09:30 Avoid code repetition
10:12 Nicer labels & titles
10:58 theme_*() layer and font size
11:38 theme() function: using values for changes
12:50: theme() function: using elements
15:29: Try out scales
16:21 Our first bar chart
17:50 Statistical transformations
19:00 Trying to work with statistical transformation
20:30 Identical statistical transformation
21:20 Creating a histogram with a stat_* layer
22:40 Connection between stat and geom layers
24:10 Easier layers without touching stat
24:45 Add labels to bar chart
27:00 Formatting the labels
27:45 Change color of bars
28:40 Remove more duplicate code
29:40 Split histogram by sex
31:30 Change positioning of colored histograms
33:03 More position changes (dodge and jitter)
35:44 Use multiple windows for different histograms
37:00 Putting it all together with a new data set
44:20 How to learn more?
45:02 Shameless plug & outro
Комментарии