`[1] 26`

# Basic vector review (solution)

Exercise

Output solution

- How many sites are there?

- How many birds were counted at the 7th site?

`[1] 30`

- How many birds were counted at the last site?

`[1] 32`

- What is the total number of birds counted across all sites?

`[1] 955`

- What is the average number of birds seen on a site?

`[1] 37`

- What is the total number of birds counted on sites with codes beginning with C? (don’t just identify this sites by eye, in the real world there could be hundreds or thousands of sites)

`[1] 248`