replacement_to_df: replacement_to_df

Description Usage Arguments Value

Description

turns the replacement list into a data frame to assist in calculating replacement level

Usage

1
replacement_to_df(pp_list, hit_pitch, special = FALSE)

Arguments

pp_list

named list of zscored stats. look at 'proj_prep' to see where this function gets called

hit_pitch

c('h', 'p')

special

regular positions (c, 1b, 2b) (FALSE) or special positions (TRUE)

Value

data frame


almartin82/projection_prep documentation built on May 10, 2019, 9:56 a.m.