ggplot(dataframe, aes(x-axis, y-axis)) +
geom_point(alpha = 0.5) +
geom_smooth(method='lm', se=FALSE)
alpha = scatter plot의 점을 불투명하게
method = smoothing method (lm, glm, loess, gam)
se = confidence ribbon을 나타나게 할지 (default TRUE)
'Computer Science > [21-22] DataCamp ML, R' 카테고리의 다른 글
[WEEK1] Introduction to Statistics in R (0) | 2022.05.19 |
---|---|
[WEEK13] Feature Engineering for NLP in Python (0) | 2021.12.06 |
[WEEK12] Introduction to Natural Language Processing in Python (0) | 2021.11.29 |
[WEEK2] Unsupervised Learning in Python (0) | 2021.09.07 |
DataCamp ML Scientist 참고 자료 (0) | 2021.09.02 |
댓글