You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to create a set of custom rules, and wondering if there's a way I can change multiple antibiotics at the same time if they meet the conditions and not get the warning "In nax != nay : longer object length is not a multiple of shorter object length"
An example of the current code I have looks like this name == "Staphylococcus aureus" & TCY == "S" ~ c(DOX, MFX) == "S",
the chatgpt suggested I change it to name == "Staphylococcus aureus" & TCY == "S" ~ DOX== "S" & MFX== "S",
which didn't work at all
So now I'm writing individual lines
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to create a set of custom rules, and wondering if there's a way I can change multiple antibiotics at the same time if they meet the conditions and not get the warning "In nax != nay : longer object length is not a multiple of shorter object length"
An example of the current code I have looks like this
name == "Staphylococcus aureus" & TCY == "S" ~ c(DOX, MFX) == "S",the chatgpt suggested I change it to
name == "Staphylococcus aureus" & TCY == "S" ~ DOX== "S" & MFX== "S",which didn't work at all
So now I'm writing individual lines
Which ultimately works and doesn't throw me warnings, but it's long......
Beta Was this translation helpful? Give feedback.
All reactions