Remove mention of scalar functions

Fixes #699
This commit is contained in:
Hadley Wickham 2020-10-04 15:57:45 -05:00
parent ec4140a9e5
commit f2d7e6a921
1 changed files with 0 additions and 2 deletions

View File

@ -238,8 +238,6 @@ Sometimes you want to do different things based on the type of vector. One optio
| `is_list()` | | | | | x |
| `is_vector()` | x | x | x | x | x |
Each predicate also comes with a "scalar" version, like `is_scalar_atomic()`, which checks that the length is 1. This is useful, for example, if you want to check that an argument to your function is a single logical value.
### Scalars and recycling rules
As well as implicitly coercing the types of vectors to be compatible, R will also implicitly coerce the length of vectors. This is called vector __recycling__, because the shorter vector is repeated, or recycled, to the same length as the longer vector.