R/penaltyPrint.R

Defines functions penaltyPrint

Documented in penaltyPrint

penaltyPrint <-
function(player, goalkeeper = TRUE, exact = TRUE, pendat, includeMisses = TRUE)
  {
    pensel = pendat[findPlayerSet(player, goalkeeper, exact, pendat), ]
    if (!includeMisses) pensel = pensel[pensel$result == 'Tor' | pensel$result == 'gehalten', ]
    pensel
  }

Try the footballpenaltiesBL package in your browser

Any scripts or data that you put into this service are public.

footballpenaltiesBL documentation built on March 17, 2021, 5:07 p.m.