Image 1 of 1: ‘A 3 by 3 data frame with columns showing numeric, character and logical values.’
Figure 2
Image 1 of 1: ‘Monsters at a fork in the road, with signs saying here, and not here. One direction, not here, leads to a scary dark forest with spiders and absolute filepaths, while the other leads to a sunny, green meadow, and a city below a rainbow and a world free of absolute filepaths. Art by Allison Horst’
Figure 3
Image 1 of 1: ‘Yes/no bar graph showing number of individuals who are members of irrigation association’
Figure 4
Image 1 of 1: ‘Bar plot of association membership, showing missing responses.’
Figure 5
Image 1 of 1: ‘bar graph showing number of individuals who are members of irrigation association, including undetermined option’
Long and wide
dataframe layouts mainly affect readability. You may find that visually
you may prefer the “wide” format, since you can see more of the data on
the screen. However, all of the R functions we have used thus far expect
for your data to be in a “long” data format. This is because the long
format is more machine readable and is closer to the formatting of
databases.