Return each team's best wins
bestwins(df = NULL, teamname = NULL, type = NULL, N = NULL)
the results dataset
If =NULL then all results are returned. If
Otherwise valid types are H, A
relating to home-losses, away-losses
The total number of games to return
a dataframe of games ending in best wins
bestwins(england,"Aston Villa", type="H")
bestwins(england,"York City", type="A")
bestwins(england,"Port Vale", N=20)
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.
Questions? Problems? Suggestions? Tweet to @rdrrHQian@mutexlabs.com.
All documentation is copyright its authors; we didn't write any of that.