r – Error in x[floor(d)] + x[ceiling(d)] : non-numeric argument to binary operator

r – Error in x[floor(d)] + x[ceiling(d)] : non-numeric argument to binary operator

The solution by jay.sf in the comment works. You would also need to use ggplot() when running your code to produce the boxplot, ie ggplot() + boxplot(viral_load ~ trial_arm, dataset)

r – Error in x[floor(d)] + x[ceiling(d)] : non-numeric argument to binary operator

Leave a Reply

Your email address will not be published.