I have a dataset I've cleaned the data in. No Nas. However when I try to calculate the mean from a specific column called 'Age', i get a 'NA' result. Min and Max age as well as Sd are correctly calculated.
The code I'm using is:
age_desc <- dem_data2 %>%
summarise(mean = mean(Age), na.rm = T,
sd = sd(Age), na.rm = T,
min = min(Age), na.rm = T,
max = max(Age), na.rm = T)
Any help would be greatly appreciated.