Following is my R code.
data <- read.csv(file = "vgsales.csv", header = TRUE, sep = ",")
data1 = group_by(data, Genre)
summarize(data1, mean(NA_Sales)
The last line generates the following error
Error in check_dots_empty(action = warn) :
unused argument (action = warn)
I've tried numerous solutions on the stackoverflow but none worked. However, we I changed my code to the following,
data <- read.csv(file = "vgsales.csv", header = TRUE, sep = ",")
data1 = group_by(data, Genre)
x <- summarize(data1, mean(NA_Sales)
..it worked but when I print x, i again get the same error.
Can someone help?