## The function is currently defined as
function (wRAA, PA, year, parkfactor, leaguewRC)
{
leaguerpa <- linearWeights$RPerPA[which(linearWeights$Season ==
year)]
wrcplus <- (((wRAA/PA + leaguerpa) + (leaguerpa - parkfactor *
leaguerpa))/leaguewRC) * 100
}
Run the code above in your browser using DataLab