R

Jami H.

asked • 11/01/20

I keep getting errors. What is the proper syntax for comparing vectors using same_n?

##### (b) comparing vectors


> Given two users's preferences between two options: [Facebook, Instagram], [Firefox, Chrome], [Mac, PC], [Summer, Winter].

- how many things do they aggree on and how many do they not?



```{r, eval = TRUE}

mike <- c("Instagram", "Chrome", "Mac", "Summer")

cole <- c("Facebook", "Chrome", "PC", "Winter")


same_n # edit me

same_n


diff_n

diff_n

```

1 Expert Answer

By:

Still looking for help? Get the right answer, fast.

Ask a question for free

Get a free answer to a quick problem.
Most questions answered within 4 hours.

OR

Find an Online Tutor Now

Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.