Question: Write down R code for the following question #### 3. 1. c) Consider the variable below myVar . Using str_detect and regular expression, detect those
Write down R code for the following question

#### 3. 1. c) Consider the variable below myVar . Using str_detect and regular expression, detect those strings that contain at least one `z' and a maximum of three `z. Your output should be TRUE TRUE TRUE FALSE {r} myVar = c("bizarre", "bizzarre", "bizzzarrre", "bizzzzare") {r} # your code
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
