From 9fe4a64ec8cc74f5346bfb6a42dd00a7bf1d951c Mon Sep 17 00:00:00 2001 From: Ulrik Lyngs Date: Wed, 24 Oct 2018 18:23:22 +0100 Subject: [PATCH] Fix typo (#709) removing an 's' --- vectors.Rmd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vectors.Rmd b/vectors.Rmd index 3a3095e..1fe5b60 100644 --- a/vectors.Rmd +++ b/vectors.Rmd @@ -225,7 +225,7 @@ An atomic vector can not have a mix of different types because the type is a pro ### Test functions -Sometimes you want to do different things based on the type of vector. One option is to use `typeof()`. Another is to use a test function which returns a `TRUE` or `FALSE`. Base R provides many functions like `is.vector()` and `is.atomic()`, but they often returns surprising results. Instead, it's safer to use the `is_*` functions provided by purrr, which are summarised in the table below. +Sometimes you want to do different things based on the type of vector. One option is to use `typeof()`. Another is to use a test function which returns a `TRUE` or `FALSE`. Base R provides many functions like `is.vector()` and `is.atomic()`, but they often return surprising results. Instead, it's safer to use the `is_*` functions provided by purrr, which are summarised in the table below. | | lgl | int | dbl | chr | list | |------------------|-----|-----|-----|-----|------|