88.6k views
5 votes
Load the we8there data set from the textir package. List the first 5 restaurants’ ratings from we8thereRatings. Based on we8thereCounts, what’s the maximum number of times a certain bigram was mentioned in a certain review? [Ref. Page 262].

User MirrorBoy
by
6.1k points

1 Answer

4 votes

Answer:

> we8thereRatings[1:5,]

Food Service Value Atmosphere Overall

1 5 5 5 5 5

2 5 5 5 5 5

5 5 5 4 4 5

11 5 5 5 5 5

12 5 5 5 4 5

User Aidrivenpost
by
5.7k points