dplyr
Write an R function solution(x) that uses dplyr to return the mean of the column value in the data frame x.
Example
df <- data.frame(value = c(1, 2, 3, 4))
solution(df) → 2.5
solution.py
14px
📊 Test Results
Run your code to see test results here.