Greetings ,
I have the data frame below for an interaction. I want to create a bar plot with the data and when I create one I get the error message "Error in Variety:Dose : unequal factor lengths" which is said to be due to unequal factor lengths.How do i solve such a problem? I have tried merging but that does not work out
"Markdown" can be achieved with the following great packages
Please also fill in what kind of diagram you need in the end.
It's not impossible to read it from the code, but it would be nice if you could add what you want the color gradient to be, what you want the horizontal axis to be, and which are the qualitative and quantitative variables.
Please provide the data.
Hypothetically, my opinion is that I believe that the column names in your data are causing the problem.
I could not attach data here it said file format not allowed. The graph requires is as in the uploaded pic which is actually an interaction bar graph.
dput(data) worked for me