select(data,starts_with("nase"))
我需要使用哪个包来使用select函数?如何找到?目前谷歌和stackoverflow都不太有用。
select(data,starts_with("nase"))
我需要使用哪个包来使用select函数?如何找到?目前谷歌和stackoverflow都不太有用。
你说的没错,select
难以查找:
library(sos)
findFn("select")
返回7184个结果。
但您可以尝试
findFn("starts_with")
这段代码只在9个软件包中产生了14个结果,其中第一个结果指向 dplyr::select
。
另一种策略是尝试在你最初找到这个代码片段的地方寻找线索...
Install package dplyr by running the command below:
install.packages("dplyr")
After this, load the library using the command below:
library(dplyr)