Vasco Brazão

Results 3 issues of Vasco Brazão

(moved over here from https://stackoverflow.com/questions/58621567/naniarreplace-with-na-all-changes-factor-variables-to-integers) I have a dataset where some missing values are coded as -99, and tried to use the naniar function replace_with_na_all to replace those values with...

bug

I'm running two mediations on the same data, once using prior (sampling) weights when fitting the models (through the `survey` package), and once without those prior weights (just using the...

Not sure if this is a bug or by design, but I seem to be encountering the same issue @ASKurz reported here: https://github.com/vincentarelbundock/marginaleffects/issues/1021 when using a multinomial model. ``` library(nnet)...