Skip to content

Commit 6b6984d

Browse files
Update 01-r-basics.Rmd
fixes part of #142
1 parent 88dacd5 commit 6b6984d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

episodes/01-r-basics.Rmd

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -620,17 +620,17 @@ c("ACTN3","APOA5") %in% snp_genes
620620

621621
> ## Review Exercise 1
622622
>
623-
> What data types/modes are the following vectors?
623+
> What data modes are the following vectors?
624624
> a. `snps`
625625
> b. `snp_chromosomes`
626626
> c. `snp_positions`
627627
>
628628
>> ## Solution
629629
>>
630630
>> ```{r, purl = FALSE}
631-
>> typeof(snps)
632-
>> typeof(snp_chromosomes)
633-
>> typeof(snp_positions)
631+
>> mode(snps)
632+
>> mode(snp_chromosomes)
633+
>> mode(snp_positions)
634634
>> ```
635635
> {: .solution}
636636
{: .challenge}

0 commit comments

Comments
 (0)