Pairewise deletion of missings in one variable

Hello,
I want for the sociodemographic create a table with all the M and SD.
But I want to use the full dataset with N.A.s because if I use the clean i have just N=75.
How can I calculate the SD for Variables with Missings.

sd(datasoz$BMI_mo_t2)

Is obviously not working, but is there a code with use="pairwise.complete.obs" ?
I couldn't find anything till now.
Thank you

sd(datasoz$BMI_mo_t2), na.rm = TRUE)

This topic was automatically closed 7 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.