I have a dataset describing the number of birds of different species observed at a number of sites:
site_id, species, number_present
1, a, 2
1, b, 1
1, c, 1
2, x, 2
2, y, 2
3, z, 1
What i'd like to do is create additional rows for each site indicating absence - i.e. that 0 of species x, y and z were observed at site 1.
Is there a quick and easy way to do this (relative to manually creating rows..)?
Thanks in advance for your help on my first post to this forum
Bookmarks