[R] R Shiny Help - Trouble passing user input columns to emmeans after ANOVA analysis
Ivan Krylov
|kry|ov @end|ng |rom d|@root@org
Thu Jun 6 17:05:33 CEST 2024
В Wed, 5 Jun 2024 19:07:19 -0500
I B <ibarnhart055 using gmail.com> пишет:
> 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
More information about the R-help
mailing list