Hi everyone, I am running a code to count NA values in data but it is coming again and again zero only though the data has NA values. Please help me in this regard.
df <- Data
df
x <- df[1:15, 1]
x
is.na(x)
Console -
x
[1] "41" "36" "12" "18" "NA" "28" "23" "19" "8" "NA"
is.na(x)
[1] FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE FALSE