Learn R Programming

mlbstats (version 0.1.0)

sbsr: Calculates stolen base success rate

Description

Computes percentage of bases successfully stolen

Usage

sbsr(sb, cs)

Arguments

sb

Number of stolen bases

cs

Number of caught stealing

Value

sbsr

Examples

Run this code
# NOT RUN {
sbsr(20, 4)
# }

Run the code above in your browser using DataLab