mean( ,na.rm=TRUE) still returns NA

后端 未结 2 1163
萌比男神i
萌比男神i 2021-02-15 20:28

I\'m very new to R (moving over from SPSS). I\'m using RStudio on a Mac running Mavericks. Please answer my question in words of 2 syllables as this is my first real attempt a

2条回答
  •  北海茫月
    2021-02-15 20:54

    unfortunately, as.numeric makes an implicit coercion, which leads to wrong answers. don't imply it on factors.

提交回复
热议问题