half_court_raster: Raster Half Court

Description Usage Value Examples

View source: R/graphics.R

Description

Construct a SpatialPolygonsDataFrame obejct out of a raster layer that represents the NBA regulation half court.

Usage

1

Value

SpatialPolygonsDataFrame representing the NBA regulation half court as a grid of rectangular polygons.

Examples

1
2
# create a half court raster SpatialPolygonsDataFrame object
sp_pol <- half_court_raster()

imadmali/NBAapi documentation built on May 6, 2019, 2:31 p.m.