You've included three "I want"s in your message, but no question.
Are you looking for functions? Try searching ... in R, on google, on
http://rseek.org/, ...
Have you tried some code, but can't get it to work? Send your code with
error messages, and tell us precisely what you trying to get your code to
do.
Did you want us to do your homework? Good luck with that.
Jean
Marcella <m.e.j.meerkerk@students.uu.nl> wrote on 11/15/2012 04:36:56 AM:
>
> I want to make a chart on variables which are taken in 2 different years
on 2> the same locations, at different depths, where for every location the
> species and the amount of species are determined.
>
> The first chart I want to make is to see how much of every species is
> collected in total in a bar or piechart.
> Then I want to make a few charts with the species per location and per
depth>
> Here is a subset of my dataset
>
> Station Latitude(S) Longitude(E) Depth(m) Sa.Code Sp.Code N
> UPG02 -5.122355036 119.339401 4 UPG02_4 Amphis_lesson 398
> UPG02 -5.122355036 119.339401 4 UPG02_4 Amphis_radiat 58
> UPG02 -5.122355036 119.339401 4 UPG02_4 Penero_planat 3
> UPG02 -5.122355036 119.339401 4.8 UPG02_4.8 Sphero_sp 5
> UPG02 -5.122355036 119.339401 4.8 UPG02_4.8 Amphis_lesson 204
> UPG02 -5.122355036 119.339401 4.8 UPG02_4.8 Amphis_radiat 18
> UPG02 -5.122355036 119.339401 9 UPG02_9 Sphero_sp 1
> UPG02 -5.122355036 119.339401 9 UPG02_9 Eponid_repand 2
> UPG02 -5.122355036 119.339401 9 UPG02_9 Planor_sp 7
> UPG02 -5.122355036 119.339401 15 UPG02_15 Opercu_ammono 1
> UPG02 -5.122355036 119.339401 15 UPG02_15 Hetero_depres 94
> UPG02 -5.122355036 119.339401 15 UPG02_15 Amphis_lesson 101
> UPG02 -5.122355036 119.339401 18 UPG02_18 Sphero_sp 3
> UPG02 -5.122355036 119.339401 18 UPG02_18 Millio_sp 1
> UPG02 -5.122355036 119.339401 18 UPG02_18 Calcar_mayori 56
> UPG03 -5.136863021 119.387289 3 UPG03_3 Millio_sp 2
> UPG03 -5.136863021 119.387289 3 UPG03_3 Sahuli_sp1 1
> UPG03 -5.136863021 119.387289 3 UPG03_3 Elphid_cratic 20
> UPG03 -5.136863021 119.387289 4 UPG03_4 Planor_sp 1
> UPG03 -5.136863021 119.387289 4 UPG03_4 Opercu_elegan 1
> UPG03 -5.136863021 119.387289 4 UPG03_4 Septot_sp 1
> UPG03 -5.136863021 119.387289 5 UPG03_5 Sphero_sp 1
> UPG03 -5.136863021 119.387289 5 UPG03_5 Millio_sp 1
> UPG03 -5.136863021 119.387289 5 UPG03_5 Ammoni_sp1 1
> UPG03 -5.136863021 119.387289 6 UPG03_6 Calcar_sp1 2
> UPG03 -5.136863021 119.387289 6 UPG03_6 Calcar_mayori 68
> UPG03 -5.136863021 119.387289 6 UPG03_6 Elphid_cratic 17
> UPG03 -5.136863021 119.387289 9 UPG03_9 Sphero_sp 2
> UPG03 -5.136863021 119.387289 9 UPG03_9 Calcar_mayori 323
> UPG03 -5.136863021 119.387289 9 UPG03_9 Calcar_spengl 2
> UPG28 -5.122355036 119.339401 5 UPG28_5 Penero_planat 8
> UPG28 -5.122355036 119.339401 5 UPG28_5 Amphis_latera 1
> UPG28 -5.122355036 119.339401 5 UPG28_5 Sorite_sp 1
> UPG28 -5.122355036 119.339401 8 UPG28_8 Bilocu_sp3 1
> UPG28 -5.122355036 119.339401 8 UPG28_8 Verteb_sp 1
> UPG28 -5.122355036 119.339401 8 UPG28_8 Penero_planat 7
> UPG28 -5.122355036 119.339401 11 UPG28_11 Placop_c.f. 1
> UPG28 -5.122355036 119.339401 11 UPG28_11 Sphero_sp 2
> UPG28 -5.122355036 119.339401 11 UPG28_11 Siphon_siphon 1
> UPG28 -5.122355036 119.339401 14 UPG28_14 Sphero_sp 1
> UPG28 -5.122355036 119.339401 14 UPG28_14 Sorite_sp 1
> UPG28 -5.122355036 119.339401 14 UPG28_14 Spirol_hadaii 1
> UPG28 -5.122355036 119.339401 17 UPG28_17 Sphero_sp 3
> UPG28 -5.122355036 119.339401 17 UPG28_17 Siphon_siphon 1
> UPG28 -5.122355036 119.339401 17 UPG28_17 Sorite_sp 1
> UPG32 -5.136863021 119.387289 4 UPG32_4 Pyrgo_striol 1
> UPG32 -5.136863021 119.387289 4 UPG32_4 Ammoma_alveol 1
> UPG32 -5.136863021 119.387289 4 UPG32_4 Quinqu_netstr 1
> UPG32 -5.136863021 119.387289 6 UPG32_6 Neorot_calcar 1
> UPG32 -5.136863021 119.387289 6 UPG32_6 Quinqu_c.f.ag 1
> UPG32 -5.136863021 119.387289 6 UPG32_6 Amphis_lesson 50
> UPG32 -5.136863021 119.387289 8 UPG32_8 Spirol_sp3 1
> UPG32 -5.136863021 119.387289 8 UPG32_8 Triloc_tricar 1
> UPG32 -5.136863021 119.387289 8 UPG32_8 Amphis_lesson 34
[[alternative HTML version deleted]]