Skip to content

durtal/servevolleyR

Repository files navigation

servevolleyR 0.0.1

Overview

Collection of functions to simulate a tennis point, game, set, tiebreak and match.

Installation

devtools::install_github("durtal/servevolleyR")

Help

??servevolleyR

Help pages are available here, a couple of vignettes looking at two matches from Wimbledon 2015 are now available, Serena Williams vs Maria Sharapova and Federer vs Murray.

Shiny

I have added a shiny app, I think I've ironed out all the bugs, so this app is available in the master branch (having previously been kept in the shiny branch)

To run the shiny app:

library(servevolleyR)
svRshiny()

The shiny app allows users to simulate 1000 service games for two players, 500 sets and 500 matches, a screenshot of the app is shown below:

Other

Comments/suggestions to improve code, and speed up some of the functions would be welcomed, if possible turning plyr code that uses rlply and ldply into speedier dplyr code.

About

R package for simulating tennis points::games::tiebreaks::sets::matches

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published