Check-in (10min)
- 지난 한 주는 어땠나요? 다섯글자로 표현하고 그 이유를 설명해주세요.
- 중장기계획, 너무바빴음, 롤러코스터 or 지옥과천국, 백신맞은주, 샤이니만세 (ft. RShiny), 휴가후여파 & 티끌모아산, 이럴줄알았 → 새해엔다들
Chapter3. Describing Data (15min)
3.1 Simulating data
3.1.1 Store Data: Setting the Structure
- data frame
- var type: int, float, logi, chr, factor
- 주요변수
- 사이즈: dim()
- 미리보기: str(), head(), tail(), some()
- 변환: factor() chr → factor
- categorical var. → dummy coding
3.1.2 Store Data: Simulating Data Points
- set.seed(###)
- rbinom(n, size, p): random binomial
- rpois(n, lambda): Poisson distribution
3.2 Functions to Summarize a Variable
3.2.1 Discrete Variables
3.2.2 Continuous Variables
3.3 Summarizing Data Frames
3.3.1 summary()