В Wed, 5 Jun 2024 19:07:19 -0500
I B <[email protected]> пишет:
> However, I am getting the following error: *"Argument is of length
> zero."*
> if (selected_graph() == cols$column2 | selected_model() == "Main
> effects model") {
The error must be coming from here.
At least one of selected_graph(), cols$column2, selected_model() is a
zero-length object (maybe NULL) at this point, which makes the result
of the whole expression zero-length too. if (...) only accepts logical
scalars, hence the error.
--
Best regards,
Ivan
______________________________________________
[email protected] mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.