Skip to content

Commit

Permalink
Merge pull request #457 from jhudsl/ava/trivial-retrigger
Browse files Browse the repository at this point in the history
Fix Typo
  • Loading branch information
avahoffman authored Oct 31, 2023
2 parents f6d6169 + f004e21 commit 8439150
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
4 changes: 3 additions & 1 deletion resources/functions_for_vectors.Rmd
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
---
title: "Functions that need pull first"
output:
html_document
html_document:
css: docs/web_styles.css
---

When can you use a function directly on a column of a tibble and when do you need a vector in R?
Expand Down Expand Up @@ -150,3 +151,4 @@ y <-iris %>% select(Petal.Width)
cor.test(x,y)
```


7 changes: 5 additions & 2 deletions resources/quotes_vs_backticks.Rmd
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
---
title: "Quotes vs backticks"
output:
html_document
html_document:
css: docs/web_styles.css
---

When do you use quotes, backticks, or nothing in R?
Expand Down Expand Up @@ -57,7 +58,7 @@ text_tbl <- data.frame(
"Only backticks if atypical",
"Only backticks if atypical",
"Tolerates quotes or backticks if atypical",
"Only quotes tolearted",
"Only quotes tolerated",
"Only quotes tolerated",
"Tolerates quotes or backticks if atypical",
"Only quotes tolerated",
Expand Down Expand Up @@ -406,3 +407,5 @@ Use backticks if there is an atypical name. Do not use quotes.
car_data <- rename(car_data, `mpg!` = mpg)
fit_cars <- glm(`mpg!` ~ cyl + disp + hp + wt * gear, data = car_data)
```


0 comments on commit 8439150

Please sign in to comment.