[R] ggplot Geom_Bar Tips
필요 패키지 : tidyverse , RColorBrewer 필요 데이터 : NHIS.RData Library Load library(tidyverse) library(RColorBrewer) #library(ggplot2) #library(dplyr) NHIS Data Load load("./../Data/NHIS.RData") str(NHIS) ## 'data.frame': 2047953 obs. of 10 variables: ## $ IDV_ID : int 262352 463733 605007 605007 605007 616529 571811 964981 29823 128251 ... ## $ SEX : Factor w/ 2 levels "1","2": 2 1 2 2 2 2 2 2 2 2 ... #..
2019.10.20