Skip to content

Commit

Permalink
markdown source builds
Browse files Browse the repository at this point in the history
Auto-generated via `{sandpaper}`
Source  : 839ac36
Branch  : main
Author  : Jon Jablonski <[email protected]>
Time    : 2025-01-21 22:58:15 +0000
Message : Merge pull request #464 from jonjab/main

removing final reference to factors
  • Loading branch information
actions-user committed Jan 21, 2025
1 parent 6ab6b31 commit d4e3fff
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions 07-vector-shapefile-attributes-in-r.md
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ there is only one feature? Let's adjust the colors used in our plot. If we have
2 features in our vector object, we can plot each using a unique color by
assigning a column name to the color aesthetic (`color =`). We use the syntax
`aes(color = )` to do this. We can also alter the default line thickness by
using the `size =` parameter, as the default value of 0.5 can be hard to see.
using the `linewidth =` parameter, as the default value of 0.5 can be hard to see.
Note that size is placed outside of the `aes()` function, as we are not
connecting line thickness to a data variable.

Expand Down Expand Up @@ -427,7 +427,7 @@ In the examples above, `ggplot()` automatically selected colors for each line
based on a default color order. If we don't like those default colors, we can
create a vector of colors - one for each feature.

First we will check how many unique levels our factor has:
First we will check how many unique values our TYPE attribute has:


``` r
Expand Down Expand Up @@ -467,7 +467,7 @@ ggplot() +
### Adjust Line Width

We adjusted line width universally earlier. If we want a unique line width for
each level or attribute category in our spatial object, we can use the
each attribute category in our spatial object, we can use the
same syntax that we used for colors, above.

We already know that we have four different `TYPE`s in the lines\_HARV object,
Expand Down Expand Up @@ -522,7 +522,7 @@ following thicknesses:

## Answers

First we need to look at the levels of our factor to see
First we need to look at the values of our data to see
what order the road types are in:


Expand Down
2 changes: 1 addition & 1 deletion md5sum.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"episodes/04-raster-calculations-in-r.Rmd" "a100233c7c80bcae34c0112d10980d0d" "site/built/04-raster-calculations-in-r.md" "2024-12-10"
"episodes/05-raster-multi-band-in-r.Rmd" "d5497625ea9f0fc04de5423d140bd655" "site/built/05-raster-multi-band-in-r.md" "2024-12-10"
"episodes/06-vector-open-shapefile-in-r.Rmd" "9966d5678aea06e445f5b660a079482e" "site/built/06-vector-open-shapefile-in-r.md" "2024-12-10"
"episodes/07-vector-shapefile-attributes-in-r.Rmd" "3249d2d16ddf2b972b9d9ae0f8509fe3" "site/built/07-vector-shapefile-attributes-in-r.md" "2025-01-21"
"episodes/07-vector-shapefile-attributes-in-r.Rmd" "a7432ff6984af55f8dbcc42f020a5116" "site/built/07-vector-shapefile-attributes-in-r.md" "2025-01-21"
"episodes/08-vector-plot-shapefiles-custom-legend.Rmd" "c2acd417a144f1b04b8d2f290dcbae63" "site/built/08-vector-plot-shapefiles-custom-legend.md" "2025-01-21"
"episodes/09-vector-when-data-dont-line-up-crs.Rmd" "5cd99712be80af14d3e144ae0b46ee70" "site/built/09-vector-when-data-dont-line-up-crs.md" "2025-01-21"
"episodes/10-vector-csv-to-shapefile-in-r.Rmd" "fe9f2056f24f9f54689143b27c8c3615" "site/built/10-vector-csv-to-shapefile-in-r.md" "2024-12-10"
Expand Down

0 comments on commit d4e3fff

Please sign in to comment.