Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
1)When extracting 'Starting 11' events from event list, the result was not following the match_id order, and not any chronological order (like match_game or date)
As an exaple of the error:
In team.matches(for w==1), match_id n. 19758 happens only after match_id 19806.
But in events.list, match_id 19758 is after 19757. This list is ordered by id and not by date(or match_week). Thus, the error
This was fixed by imposing the order of the results to the order selected previously(match_date, or match_week).
2)Added dependencies: dplyr, ggplot
3)%!in% is now defined
4)The match week does not follow chronological order. So, it is best to sort by match date