Package: runexp Type: Package Title: Softball Run Expectancy using Markov Chains and Simulation Version: 0.2.1 Authors@R: c( person("Annie", "Sauer", role = c("aut", "cre"), email = "anniees@vt.edu"), person("Sierra", "Merkes", role = "aut", email = "smerkes@vt.edu")) Depends: R (>= 3.6) Description: Implements two methods of estimating runs scored in a softball scenario: (1) theoretical expectation using discrete Markov chains and (2) empirical distribution using multinomial random simulation. Scores are based on player-specific input probabilities (out, single, double, triple, walk, and homerun). Optional inputs include probability of attempting a steal, probability of succeeding in an attempted steal, and an indicator of whether a player is "fast" (e.g. the player could stretch home). These probabilities may be calculated from common player statistics that are publicly available on team's webpages. Scores are evaluated based on a nine-player lineup and may be used to compare lineups, evaluate base scenarios, and compare the offensive potential of individual players. Manuscript forthcoming. See Bukiet & Harold (1997) for implementation of discrete Markov chains. License: LGPL LazyData: true Encoding: UTF-8 Suggests: xml2, rvest Imports: doParallel, foreach, parallel RoxygenNote: 7.1.1 NeedsCompilation: no Packaged: 2026-10-16 09:27:11 UTC; root Author: Annie Sauer [aut, cre], Sierra Merkes [aut] Maintainer: Annie Sauer Repository: https://anniesbooth.r-universe.dev Date/Publication: 2021-03-22 04:10:02 UTC RemoteUrl: https://github.com/cran/runexp RemoteRef: HEAD RemoteSha: 5720319ab7f653eb7721314b0596c66808bd08ef