Grouped Frequency distribution plot in R -
I have species of rows and plant species with species of butterflies, which they can do in different columns Feed. I tried to get a frequency plan in R but faced problems in the script. Although I could have done this plot and excel in SPSS. I want to use R for this special set. Thank you very much in advance. My dataset belongs to the following form. Butterfly species #host family # host generation #hole species 1 xxxxxxxxx xx xx xx 2 xxxxxxxxx xx xx xx ... this will really be useful If someone can help me with the script for this :) As a comment, you will receive a copy Post the presentable examples. It assumes that there is a line in per butterfly species. # Generate copy-generating example set.seed (1) df & lt; - data.frame (butterfly = letterer [1:10], family = sample (1: 20,10, replacement = t), genera = sample (1: 20,10, replacement = t), species = sample (1: 20,10, Change = T)) Library (GG Plot 2) Library (Recipr 2) GG and LT; Name = "Freq", va...