Generation

generate functionThu, 20 Apr 2023

> sum(is.na(indvar_FODs$categorical_FOD_FODs)) [1] 199 > sum(is.na(indvar_FODs$Gender_quantised_FODs)) [1] 1 how can I get the without missing variables for both of them equally?

sum(!is.na(indvar_FODs$categorical_FOD_FODs) & !is.na(indvar_FODs$Gender_quantised_FODs))

Questions about programming?Chat with your personal AI assistant