下面的代码为我提供了自定义变量类型的功能,它不知道如何解释“ f”。有关如何解决此问题的任何想法?
library(readr)
data2014 <- read_csv("data2014.csv", col_types = cols(
.default = "f",
Time = col_skip(),
Minutes = col_integer(),
Seconds = col_integer(),
Away = col_character(),
Away_Points_Added = col_integer(),
Score = col_character(),
Home_Points_Added = col_integer(),
Home = col_character()
))
错误:快捷方式未知:f