Question: 2. High frequency value search. (6 pts) Below we have two vectors avec and bvec. (a) Find all the values in avec, for which the


2. High frequency value search. (6 pts) Below we have two vectors avec and bvec. (a) Find all the values in avec, for which the frequencies are greater or equal to 5. (b) Find all the values in bvec, for which the frequencies are greater or equal to 3. What is the union of (a) and (b)? (avec, bvec you generated will be exactly the same as I generated as long as we set the same seed number at the begining.) set . seed (32611) ## set random seed avec
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
