Watts-College / paf-513-template

https://watts-college.github.io/paf-513-template/
MIT License
0 stars 0 forks source link

Lab 2 Question 8 #2

Closed johndano closed 7 months ago

johndano commented 7 months ago

I had a question about Question 8 on Lab 2.

It asks to use the table() function to generate a table for tax deliquents per land use type.

This is my code so far:

image image 2

It creates a 12x12 matrix instead of a 12x2 table.

I saw the data.frame() function which generates the the 12x2 table I'm looking for.

image 3

Is there a better way to clean up the 12x12 matrix so the table() function can resemble the 12x2 table?

@JasonSills

johndano commented 7 months ago

Screenshot 2024-01-12 151901