Learn R Programming

mlbstats (version 0.1.0)

fp: Calculates fielding percentage

Description

Computes the fielding percentage (aka, fielding average), which reflects the percentage of proper ball handling

Usage

fp(p, a, e)

Arguments

p

Number of putouts

a

Number of assists

e

Number of errors

Value

fp

Examples

Run this code
# NOT RUN {
fp(13, 4, 2)
# }

Run the code above in your browser using DataLab