Skip to content

Commit d4e3fff

Browse files
committed
markdown source builds
Auto-generated via `{sandpaper}` Source : 839ac36 Branch : main Author : Jon Jablonski <jonjab@ucsb.edu> Time : 2025-01-21 22:58:15 +0000 Message : Merge pull request #464 from jonjab/main removing final reference to factors
1 parent 6ab6b31 commit d4e3fff

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

07-vector-shapefile-attributes-in-r.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ there is only one feature? Let's adjust the colors used in our plot. If we have
308308
2 features in our vector object, we can plot each using a unique color by
309309
assigning a column name to the color aesthetic (`color =`). We use the syntax
310310
`aes(color = )` to do this. We can also alter the default line thickness by
311-
using the `size =` parameter, as the default value of 0.5 can be hard to see.
311+
using the `linewidth =` parameter, as the default value of 0.5 can be hard to see.
312312
Note that size is placed outside of the `aes()` function, as we are not
313313
connecting line thickness to a data variable.
314314

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

430-
First we will check how many unique levels our factor has:
430+
First we will check how many unique values our TYPE attribute has:
431431

432432

433433
``` r
@@ -467,7 +467,7 @@ ggplot() +
467467
### Adjust Line Width
468468

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

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

523523
## Answers
524524

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

528528

md5sum.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"episodes/04-raster-calculations-in-r.Rmd" "a100233c7c80bcae34c0112d10980d0d" "site/built/04-raster-calculations-in-r.md" "2024-12-10"
1111
"episodes/05-raster-multi-band-in-r.Rmd" "d5497625ea9f0fc04de5423d140bd655" "site/built/05-raster-multi-band-in-r.md" "2024-12-10"
1212
"episodes/06-vector-open-shapefile-in-r.Rmd" "9966d5678aea06e445f5b660a079482e" "site/built/06-vector-open-shapefile-in-r.md" "2024-12-10"
13-
"episodes/07-vector-shapefile-attributes-in-r.Rmd" "3249d2d16ddf2b972b9d9ae0f8509fe3" "site/built/07-vector-shapefile-attributes-in-r.md" "2025-01-21"
13+
"episodes/07-vector-shapefile-attributes-in-r.Rmd" "a7432ff6984af55f8dbcc42f020a5116" "site/built/07-vector-shapefile-attributes-in-r.md" "2025-01-21"
1414
"episodes/08-vector-plot-shapefiles-custom-legend.Rmd" "c2acd417a144f1b04b8d2f290dcbae63" "site/built/08-vector-plot-shapefiles-custom-legend.md" "2025-01-21"
1515
"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"
1616
"episodes/10-vector-csv-to-shapefile-in-r.Rmd" "fe9f2056f24f9f54689143b27c8c3615" "site/built/10-vector-csv-to-shapefile-in-r.md" "2024-12-10"

0 commit comments

Comments
 (0)