Recent Posts
목록Scatterplot (1)
Stats & AI tech blog - '일단 시도함'
[R] Scatter plot with Regression lines (ggplot2)
데이터 집계 및 피벗 # count Patients a % group_by(age_group2, year) %>% summarise(n_patient = n()) # pivot wider b % dcast(year ~ ..., value.var = 'n_patient') patient_id year age_group2 1 0005969 2014 61-75 2 0010250 2019 >=76 3 0013541 2011 >=76 4 0013600 2011 46-60 5 0024285 2016 46-60 6 0025533 2018 61-75 > head(a)# A tibb..
Programming/R
2024. 1. 10. 17:05