Determine optimal entries against a given opponent lineup
make_lineup(
df,
op_df,
point_values,
result_col,
events = NULL,
max_entries = NULL,
max_ind_entries = NULL
)
a data frame of optimal entries based on df
and op_df
a data frame of times for the team to be entered. Must contain
column Event
with the same event naming convention as op_df
,
a column with name matching result_col
containing times or diving
scores, and a column called Name
containing athlete names
a data frame containing the opponent lineup. Must contain
column Event
with the same event naming convention as df
,
a column with name matching result_col
containing times or diving
scores, and a column called Name
containing athlete names
either a recognized string or a list of numeric values
containing the points awarded by place. Recognized strings are
"hs_four_lane"
, "hs_six_lane"
, "ncaa_six_lane"
the name of a column, present in both df
and
op_df
that contains times and/or diving scores
a list of events. If no list is entered then events
will be taken from unique(op_df$Event)
the number of entries a team is permitted per race. usually half the number of lanes in the competition pool
the number of indivdual events a given athlete may enter