How I can plot 2 polygon with 2 lines of circular data at the same graphic using plotrix package?

So, I used the circular package to calculate the means and descritive stuff like this, then i used the plotrix package to plot my data and I am struggling with adding the mean vectors to the plot. How can I do that?

The mean vector calculated with Circular is -0.4322424 for freq.flower.dry and 2.361176 for freq.flower.wet. The units are radians, zero = 0, rotation = counter

The lengths of the vectors are 0.397666 for freq.flower.dry and 0.1054595 for freq.flower.wet

this is a part of the code for the plot

year <- c("Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec")
angle <- c(0, 30, 60, 90, 120, 150, 180, 210, 240, 270, 300, 330)
freq.flower.dry <- c(20,17,3,1,0,1,2,10,7,7,6,5)
freq.flower.wet <- c(16,14,10,6,12,15,15,18,6,6,7,7)
radial.plot(rbind(freq.flower.dry,freq.flower.wet), labels = year, rp.type = "p",clockwise = T, start = pi/2, show.grid.labels = T, lwd = 3,line.col = c("black", "#716F6F"), lty = c(3, 1), mar=c(3,1,1,1), family = "Helvetica")

Can you help me? Thanks in advance

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.