update_ladder: Update ladder

Description Usage Arguments Value Examples

View source: R/model.R

Description

Update ladder information for a single team in an AFLELO Model

Usage

1
update_ladder(model, team, points, pts_for, pts_against)

Arguments

model

aflelo_model to update

team

name of team to update

points

number of premiership points to add

pts_for

number of points scored by the team

pts_against

number of points scored against the team

Value

afelo_object with updated ladder

Examples

1
2
model <- aflelo_model()
aflelo:::update_ladder(model, "Richmond", 4, 110, 100)

lazappi/aflelo documentation built on May 17, 2019, 7:30 p.m.