From f5e8b88496626d42dd342d32971279b4232ad136 Mon Sep 17 00:00:00 2001 From: Zeki Akyol <40212849+zekiakyol@users.noreply.github.com> Date: Thu, 24 Nov 2022 08:27:02 +0300 Subject: [PATCH] fix punctuation (#1149) --- data-import.qmd | 2 +- functions.qmd | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/data-import.qmd b/data-import.qmd index a5f9176..d88ed4c 100644 --- a/data-import.qmd +++ b/data-import.qmd @@ -256,7 +256,7 @@ Once you've mastered `read_csv()`, using readr's other functions is straightforw ## Controlling column types {#sec-col-types} -A CSV file doesn't contain any information about the type of each variable (i.e. whether it's a logical, number, string, etc), so readr will try to guess the type. +A CSV file doesn't contain any information about the type of each variable (i.e. whether it's a logical, number, string, etc.), so readr will try to guess the type. This section describes how the guessing process works, how to resolve some common problems that cause it to fail, and if needed, how to supply the column types yourself. Finally, we'll mention a couple of general strategies that are a useful if readr is failing catastrophically and you need to get more insight in to the structure of your file. diff --git a/functions.qmd b/functions.qmd index 90c0ce0..dd0aa50 100644 --- a/functions.qmd +++ b/functions.qmd @@ -625,7 +625,7 @@ While our examples have mostly focused on dplyr, tidy evaluation also underpins weather |> summarize_weather(temp) ``` - 5. Converts the user supplied variable that uses clock time (e.g. `dep_time`, `arr_time`, etc) into a decimal time (i.e. hours + minutes / 60). + 5. Converts the user supplied variable that uses clock time (e.g. `dep_time`, `arr_time`, etc.) into a decimal time (i.e. hours + (minutes / 60)). ```{r} #| eval: false @@ -930,7 +930,7 @@ This makes it very obvious that something unusual is happening. 2. Take a function that you've written recently and spend 5 minutes brainstorming a better name for it and its arguments. -3. Make a case for why `norm_r()`, `norm_d()` etc would be better than `rnorm()`, `dnorm()`. +3. Make a case for why `norm_r()`, `norm_d()` etc. would be better than `rnorm()`, `dnorm()`. Make a case for the opposite. ## Summary