create_rectangle: Create a set of 'x' and 'y' coordinates that form a rectangle

View source: R/create-shapes.R

create_rectangleR Documentation

Create a set of x and y coordinates that form a rectangle

Description

Create a set of x and y coordinates that form a rectangle

Usage

create_rectangle(x_min, x_max, y_min, y_max)

Arguments

x_min

The minimum value of x

x_max

The maximum value of x

y_min

The minimum value of y

y_max

The maximum value of y

Value

A data frame containing the points needed to draw the specified rectangle


sportsdataverse/sportyR documentation built on Feb. 17, 2024, 9:44 p.m.