diff --git a/base-R.qmd b/base-R.qmd index 276fde8..d7ec69d 100644 --- a/base-R.qmd +++ b/base-R.qmd @@ -336,7 +336,7 @@ l <- list( ``` The difference between `[` and `[[` is particularly important for lists because `[[` drills down into the list while `[` returns a new, smaller list. -To help you remember the difference, take a look at the an unusual pepper shaker shown in @fig-pepper. +To help you remember the difference, take a look at the unusual pepper shaker shown in @fig-pepper. If this pepper shaker is your list `pepper`, then, `pepper[1]` is a pepper shaker containing a single pepper packet. If we suppose this pepper shaker is a list called `pepper`, then `pepper[1]` is a pepper shaker containing a single pepper packet. `pepper[2]` would look the same, but would contain the second packet.