Learn R Programming

mlbstats (version 0.1.0)

sba: Calculates stolen base attempts

Description

Computes total attempts to steal a base, by adding sb and cs

Usage

sba(sb, cs)

Arguments

sb

Number of stolen bases

cs

Number of caught stealing

Value

sba

Examples

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

Run the code above in your browser using DataLab