单项选择题

如何得到ratings <-c(8.0,8.5,9.0)的平均值?()

A.mean(“ratings”)
B.AVER(“rating”)
C.mean(ratings)
D.average[ratings]