dist_transform: Get the distance transformation between X and Y coordinates.

Description Usage Arguments

Description

Get the distance transformation between X and Y coordinates.

Usage

1
dist_transform(data, sport_type, x_col, y_col)

Arguments

data

a dataframe object

sport_type

a character argument which can be "bball", "lax", or "soccer".

x_col

column of x coordinates

y_col

column of y coordinates


mistermichaelll/statcrewRC documentation built on June 1, 2019, 3:57 a.m.