Slide 19
Slide 19 text
Kྻͷબ TFMFDU
୯Ұ
ෳ
ෳ
DT[, "id"] DT[, list(id)]
DT[, .(id)]
DT[, 1]
cols <- c("val1", "val2") DT[, c(1, 2)]
DT[, ..cols]
DT[, cols, with = FALSE]
DT[, list(val1, val2)]
DT[, .(val1, val2)] จࣈྻϕΫτϧΛ
༩͑Δࡍʹඞཁ
ʢDPMTΛྻ໊ѻ͍͠ͳ͍ʣ
df %>%
select(id)
df %>%
select(val1, val2)
ෳ
আ DT[, !c("id")]
DT[, !cols, with = FALSE]
ˠ࣍ͷεϥΠυ
Ͱߦͬͨํ͕ޮత
MJTU
ͷγϣʔτΧοτ