lalmada1 / Coding-in-R-SPR-2021

2 stars 0 forks source link

Lab 1 - Q 6, how to narrow down search within a table #3

Open alprbk opened 9 months ago

alprbk commented 9 months ago

Hello, I am on question 6 of Lab 1. I have the answer, but when I knit my homework there is SO much irrelevant information included with my Q6 code. I would like to narrow my results, but I cannot figure out how.

I've entered: table(dat$neighborhood, dat$land_use)

This returns every land use for every neighborhood. But I only want neighborhood information for vacant land within land use. Could anyone point me in the direction to figure out how to narrow this down?

Thank you!