Questions tagged «conflicting-libraries»

6
dplyr:“ n()中的错误:不应直接调用函数”
我试图重现dplyr程序包中的示例之一,但收到此错误消息。我希望看到每个组合出现的频率都会产生一个新的列n。我想念什么?我三重检查该软件包已加载。 library(dplyr) # summarise peels off a single layer of grouping by_vs_am <- group_by(mtcars, vs, am) by_vs <- summarise(by_vs_am, n = n()) n()中的错误:不应直接调用此函数
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.