Description Usage Arguments Author(s)
View source: R/standardize_coordinates.R
Standardize length (x) location columns from Opta event data to 105m x 68m convention
1 2 3 4 5 | standardize_opta_x(
data,
cols = c("location_x", "PassEndX", "BlockedX"),
unit = "meters"
)
|
data |
A dataframe of Opta event data |
cols |
Columns to convert. Defaults to all x location columns |
unit |
Convert to meters or yards. Defaults to meters |
Lars Maurath
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.