I am using R
to analyse some ecological data, and when I try to create a boxplot two different boxes appear for one of my variables.
Here is my code:
plot(Ratio.gap.per ~ Circadian, data=circ)
which should produce a boxplot with a box for each of my x axis factors, but I always get two different bars for my category N
(for 'nocturnal'). Boxplot shown here:
Does anyone know how to correct this?