Skip to content

Commit 79f24b3

Browse files
author
Jon Jablonski
committed
replacing last references to factors to catch up with the changed default of strings.as.factors()
1 parent ce21c9e commit 79f24b3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

episodes/07-vector-shapefile-attributes-in-r.Rmd

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ In the examples above, `ggplot()` automatically selected colors for each line
300300
based on a default color order. If we don't like those default colors, we can
301301
create a vector of colors - one for each feature.
302302

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

305305
```{r palette-and-plot}
306306
unique(lines_HARV$TYPE)
@@ -328,7 +328,7 @@ ggplot() +
328328
### Adjust Line Width
329329

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

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

373373
## Answers
374374

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

378378
```{r}

0 commit comments

Comments
 (0)