R select()

1 개요[ | ]

R select()
  • "Select variables by name"
  • 이름으로 변수들을 선택하는 R 함수
R
Copy
library(dplyr, warn.conflicts=FALSE)
select(iris, starts_with("Sepal"))
Loading
R
Copy
library(dplyr, warn.conflicts=FALSE)
tb <- as_tibble(iris)
select(tb, starts_with("Sepal"))
Loading
R
Copy
library(dplyr, warn.conflicts=FALSE)
tb <- as_tibble(iris)
select(tb, -starts_with("Sepal"))
Loading

2 함께 쓰면 유용한 함수들[ | ]

3 같이 보기[ | ]

4 참고[ | ]