hello,
whenever I use the function ifelse there is an eroor saying argument "no" is missing with no default. Do you have an idea how to fix that?
Thank you!
hello,
whenever I use the function ifelse there is an eroor saying argument "no" is missing with no default. Do you have an idea how to fix that?
Thank you!
at the end of your expression is missing the "no" argument.
Set NA
as the default value for your nested ifelse()
commands
self.komplett$iri1 <- ifelse(self.komplett$VC01_01 == 5,
"1" ,
ifelse(self.komplett$VC01_01 != 5,
"0",
NA
)
)
If you need more specific help, please provide a proper REPRoducible EXample (reprex) illustrating your issue.
This topic was automatically closed 21 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.