circlePlotData: Generate a set of circle vertices suitable for plotting

View source: R/circleVertices.R

circlePlotDataR Documentation

Generate a set of circle vertices suitable for plotting

Description

This function is deprecated and will be removed in a future release. Please use circleLayoutVertices instead.

Usage

circlePlotData(layout, npoints = 25, xyr.cols = 1:3, id.col = NULL)

Arguments

layout

A matrix or data.frame of circle data (x, y, radius). May contain other columns, including an optional ID column.

npoints

The number of vertices to generate for each circle.

xyr.cols

Indices or names of columns for x, y, radius (in that order). Default is columns 1-3.

id.col

Optional index or name of column for circle IDs in output. If not provided, the output circle IDs will be the row numbers of the input circle data.

Value

A data.frame with columns: id, x, y; where id is the unique integer identifier for each circle.

See Also

circleLayoutVertices circleVertices


mbedward/packcircles documentation built on Sept. 10, 2023, 2:08 a.m.