4. boxplot & jitter plot
x축은 Descrete 변수를, y축에는 Continuous 변수를 배치해야합니다.
xxxxxxxxxx
ggplot(STOCK) +
geom_boxplot(aes(x = Day, y = Volume, fill = Day),
alpha = 0.4, outlier.color = 'red') +
theme_bw()
ggplot(STOCK) +
geom_jitter(aes(x= Day, y= Volume,col = Day),alpha = 0.4) +
theme_bw()
ggplot(STOCK) +
geom_boxplot(aes(x = Day, y = Volume, fill = Day),
alpha = 0.4, outlier.color = 'red') +
geom_jitter(aes(x= Day, y= Volume,col = Day),alpha = 0.4) +
theme_bw()
댓글
댓글 쓰기