[R-sig-eco] beeswarm plot
HMariam Abrha
hmariam.abrha at aau.edu.et
Fri Apr 28 11:39:23 CEST 2017
Hello,
I am a PhD student at UNISA, South Africa. I wanted to analyze an
environmental data using R. I actually wanted to plot a beeswarm just to
show a distribution of my data in relative to certain factor. I have 4
drugs and their concentration in influent and effluent wastewater from
wastewater treatment plant. I have tried to read the examples online and I
can not get it (I can not plot it).
I saved my data as...Occurrence in local disk "C" and folder called "R".
I entered the following command
beeswarm(Concentration~drug, data=Occurrence, log=TRUE, pch=42,
col=rainbow(8))
and I am getting the following error
"Error in eval(m$data, parent.frame()) : object 'Occurrence' not found"
Can you please help as to how I should save my data and enter the command
so that I will be able to plot? I have tried many ways by just looking at
the examples given online.
Please find my data attached.
Best regards,
--
Hailemariam Abrha (M.Sc)
Lecturer, Department of Pharmaceutical Chemistry and Pharmacognosy
College of Health Sciences, Addis Ababa University
P.O.Box-1176
and
PhD student at , NanoWS,UNISA, South Africa
email: hmariam.abrha at aau.edu.et or hailye34 at yahoo.com
-------------- next part --------------
KTZ FCZ CLZ MCZ
Influent Effluent Influent Effluent Influent Effluent Influent Effluent
2 2 20 16 6.7 2.7 78.9 35.7
7 2.3 20 28 11 3 337.9 3
16 8 32 28 12 5 54.9 0.89
18.8 10 34 31 23 5 67.6 4.6
19.5 12.4 39 35 25 5 19.2 1.6
44 15 41 36 30 5.9 69.4 2.27
51.6 17 42 37 31 6 38.8 0.5
55 21.2 46 39 31 6 38.3 11
56.3 23 54 40 33 8 1.1 12
58 27 59 42 33 8 30 12
58.1 34 61 48 39 8 20 15
66.6 34.8 65.1 52 42 9 43 0.25
72 36 83 61.1 43 9.4 55 0.87
73 70 85 63 44 9.4 30 0.25
77 NA 86 67 47 9.7 80 0.9
90 NA 88 69 48 10 6 3.2
91.6 NA 90 70 49 10.6 11.3 2.5
102 NA 90 72 71 11 6 9
110 NA 93 83 74 11.5 11.3 9
191 NA 94.9 95 78 12.7 16.5 NA
NA NA 109 100 80 12.9 12.5 NA
NA NA 120 100 232 14 NA NA
NA NA 158.5 140 500 14.1 NA NA
NA NA 163.3 151.3 650 14.6 NA NA
NA NA 167.5 162.5 900 15 NA NA
NA NA 388 163 NA 16.7 NA NA
NA NA 448 793 NA 19.6 NA NA
NA NA 583 NA NA 21.2 NA NA
NA NA 1710 NA NA 21.6 NA NA
NA NA NA NA NA 24.2 NA NA
NA NA NA NA NA 26.2 NA NA
NA NA NA NA NA 27 NA NA
NA NA NA NA NA 27.8 NA NA
NA NA NA NA NA 29 NA NA
NA NA NA NA NA 30.6 NA NA
NA NA NA NA NA 30.7 NA NA
NA NA NA NA NA 31.1 NA NA
NA NA NA NA NA 34 NA NA
NA NA NA NA NA 300 NA NA
NA NA NA NA NA 475 NA NA
NA NA NA NA NA 1200 NA NA
NA NA NA NA NA 8650 NA NA
More information about the R-sig-ecology
mailing list