I have a data table. How do I calculate the mean of a column.
mean(mtcars$mpg)
#> [1] 20.09062
Created on 2020-08-21 by the reprex package (v0.3.0)
This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.
If you have a query related to it or one of the replies, start a new topic and refer back with a link.