filmov
tv
3 Simple Tips to Avoid Overplotting in R #shorts #rstats #programming #ggplot2 #datavisualization

Показать описание
This is the very first YouTube Shorts video that was ever published on Statistics Globe! :) It would be amazing if you could let me know your feedback so that I can incorporate it in future videos. This video explains how to avoid overplotting in R programming using different functions and arguments of the ggplot2 library. Which topics would you like to see next?
R code of this video:
x = c(rnorm(1000),
rnorm(1000, 5, 2),
rnorm(1000, 1, 3)),
y = c(rnorm(1000),
rnorm(1000, 1, 4),
rnorm(1000, 2, 2)),
group = rep(LETTERS[1:3],
each = 1000))
library("ggplot2")
ggplot(data, aes(x, y)) +
geom_point()
ggplot(data, aes(x, y)) +
geom_point(size = 0.01)
ggplot(data, aes(x, y)) +
geom_point(alpha = 0.1)
ggplot(data, aes(x, y,
col = group)) +
geom_point()
ggplot(data, aes(x, y,
col = group)) +
geom_point(size = 0.05,
alpha = 0.2)
Follow me on Social Media:
R code of this video:
x = c(rnorm(1000),
rnorm(1000, 5, 2),
rnorm(1000, 1, 3)),
y = c(rnorm(1000),
rnorm(1000, 1, 4),
rnorm(1000, 2, 2)),
group = rep(LETTERS[1:3],
each = 1000))
library("ggplot2")
ggplot(data, aes(x, y)) +
geom_point()
ggplot(data, aes(x, y)) +
geom_point(size = 0.01)
ggplot(data, aes(x, y)) +
geom_point(alpha = 0.1)
ggplot(data, aes(x, y,
col = group)) +
geom_point()
ggplot(data, aes(x, y,
col = group)) +
geom_point(size = 0.05,
alpha = 0.2)
Follow me on Social Media:
Avoid overworking your drawings | 3 Simple Tips
GOLFER'S BIGGEST MISTAKES ON PAR 3'S - 3 Simple Golf Tips
How to STOP hitting bad iron shots - 3 really simple tips
Instantly FIX Your Long Irons with 3 simple tips.
3 simple tips to prevent flat head in your baby!
Unlock 3 Key Tips to Avoid 3 Putts
The LAST Putting Lesson You Will Ever Need - 3 Simple Tips
3 Simple Tips To UNSTUCK Your Swing! || Arm Connection
Here's 3 Easy and Quick Tips To Deal With Negativity #stoic #stoicresilience #ancientphilosophy
3 simple sewing tips to STOP THAT HORRIBLE THREAD NESTING!! (esp for beginners!)
3 Simple Tips to Avoid Overplotting in R #shorts #rstats #programming #ggplot2 #datavisualization
3 SIMPLE Tips To Stop Sliding || Posted Leg
3 SIMPLE TIPS TO STOP YOUR SLICE WITH DRIVER - SIMPLE GOLF TIPS
3 Simple Tips To Stop Rushing Your Downswing
How To Stop 3 Putting Forever With These Simple Golf Tips
3 simple shots(POV) #professional #8ballpool #billiard #snooker #skills #tips #pov #simple #tutorial
How I LOST 60 Pounds with 3 SIMPLE TIPS! #shorts
3 easy tips to improve instantly
3 Simple Tips for Working with Depression
3 Simple Golf Iron Swing Tips To Strike it Pure
HOW TO Improve Your Skiing With 3 SIMPLE TIPS
Unbelievable Results with These '3 Simple Tips' for Massive Triceps!
3 Simple Tips For Solid Iron Shots
This Simple lesson Will FIX Your Chipping - 3 Simple Golf Tips
Комментарии