有什么办法可以解决此错误消息?

时间:2020-06-17 00:56:33

标签: r

我已经检查了meta,但仍然找不到解决方案的线索。请执行我可以做的其他事情,因为我已经安装了 tidyverse dplyr ,但是我的代码不断出现错误。在帮助中搜索?slice_sample 时,找不到帮助。有人可以告诉我该怎么做吗?

 > reduced <- powerData %>% filter(marker == "Natural") %>% slice_sample(prop = 0.8)
 Error in slice_sample(., prop = 0.8) : 
 could not find function "slice_sample"
 > getAnywhere(slice_sample)
 no object named ‘slice_sample’ was found
 > getAnywhere(slice_sample)
 no object named ‘slice_sample’ was found
 > help.search("slice_sample") # nothing came out

0 个答案:

没有答案