File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -1102,10 +1102,13 @@ head(population_nodes)
1102
1102
print_html_nodes(head(population_nodes))
1103
1103
```
1104
1104
1105
- > **Note:** `head` is a function that is useful for viewing the first `n` parts
1106
- > of an R object, where the default value for `n` is 6.
1107
- > It is useful to know, as not all R objects have a nice and short
1108
- > print method like tibbles (which print only the first 10 rows).
1105
+ > **Note:** `head` is a function that is often useful for viewing only a short
1106
+ > summary of an R object, rather than the whole thing (which may be quite a lot
1107
+ > to look at). For example, here `head` shows us only the first 6 items in the
1108
+ > `population_nodes` object. Note that some R objects by default print only a
1109
+ > small summary. For example, `tibble` data frames only show you the first 10 rows.
1110
+ > But not *all* R objects do this, and that's where the `head` function helps
1111
+ > summarize things for you.
1109
1112
1110
1113
Next we extract the meaningful data&mdash ; in other words, we get rid of the HTML code syntax and tags&mdash ; from
1111
1114
the nodes using the `html_text`
You can’t perform that action at this time.
0 commit comments