Skip to content

Commit

Permalink
fix dan typo
Browse files Browse the repository at this point in the history
  • Loading branch information
lgatto committed Feb 22, 2024
1 parent de29fa1 commit 45a72c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 23-starting-with-r.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -521,7 +521,7 @@ this can quickly become tedious. The function `%in%` allows you to
test if any of the elements of a search vector are found:

```{r, purl = FALSE}
molecules <- c("dan", "rna", "protein", "peptide")
molecules <- c("dna", "rna", "protein", "peptide")
molecules[molecules == "rna" | molecules == "dna"] # returns both rna and dna
molecules %in% c("rna", "dna", "metabolite", "peptide", "glycerol")
molecules[molecules %in% c("rna", "dna", "metabolite", "peptide", "glycerol")]
Expand Down

0 comments on commit 45a72c1

Please sign in to comment.