Skip to content

Commit 5b91cf6

Browse files
authored
Merge pull request rstudio-education#4 from nmoorenz/brackets
triple brackets
2 parents 8b0d93b + 5d4c6d6 commit 5b91cf6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

basics.rmd

+2-2
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,7 @@ sample(die, size = 1)
347347

348348
Often, the name of the first argument is not very descriptive, and it is usually obvious what the first piece of data refers to anyways.
349349

350-
But how do you know which argument names to use?(((errors/error messages, when naming arguments))) If you try to use a name that a function does not expect, you will likely get an error:
350+
But how do you know which argument names to use? If you try to use a name that a function does not expect, you will likely get an error:
351351

352352
```r
353353
round(3.1415, corners = 2)
@@ -447,7 +447,7 @@ However, it _would_ be convenient to have an object that can re-roll the dice wh
447447

448448
## Writing Your Own Functions {#write-functions}
449449

450-
To recap, you already have working R code that simulates rolling a pair of(((weighted dice project, re-rolling the dice))) dice:
450+
To recap, you already have working R code that simulates rolling a pair of dice:
451451

452452
```r
453453
die <- 1:6

0 commit comments

Comments
 (0)