Learn R Programming

mlbstats (version 0.1.0)

bb_k: Calculates walk to strikeout ratio (batting)

Description

Takes the number of bases on balls and divides by number of strikeouts (for pitching version, see "k_bb")

Usage

bb_k(bb, k)

Arguments

bb

Number of bases on balls

k

Number of strikeouts

Value

bb_k

Examples

Run this code
# NOT RUN {
bb_k(65, 125)
# }

Run the code above in your browser using DataLab