Open bixiou opened 6 months ago
The current version of memisc on CRAN is 0.99.31.7. Does this bug show up with that version as well?
No, the bug is with the older version. But I need this older version, it has useful features which are not in the new one.
Unfortunately, I can only support the newest version of the package. If there is any functionality missing in the newest version, please describe it, and I may consider (re-)implementing it or provide a workaround.
As explained here, memisc 0.99.22 allows to run regressions without dropping data ('PNR' is considered as a response category, which it is) while allowing to treat these 'PNR' as missing in the analysis (i.e. have a special status for descriptive stats, graphs...).
It would be great, indeed, if this feature could be retained in the new versions.
I noticed a bug with R 4.3.1 (my colleague does not have the bug with R 4.2.1). The following code returns
NA
instead ofTRUE
:This is despite
measurement(temp)
beingnominal
, i.e. we would expect that by default,temp
is considered as string and not numerical.Note that both
temp == 1
andtemp %in% "Yes"
correctly returnTRUE
.Is there a way to change this behavior?
My version of
memisc
is 0.99.22 (or rather, a patched version of 0.99.22, as explained here).