Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

grapherXmpl

grapherXmpl


Description

A data set taken from an example in the grapherator package. This data set demonstrates handling a data set with duplicated points.

Usage

grapherXmpl

Format

A data frame with 250 observations on the following 2 variables.

x

a numeric vector

y

a numeric vector

Details

There are 25 duplicated points, so the net number of observations is 225. These data constitute a structure (named coordinates) generated internally in the function addEdgesDelaunay. The call is to be found in the examples in the help file for the plot.grapherator() in the grapherator package. The relevant example initially threw an error, revealing a bug in deldir() that was triggered when there were duplicated points in the data.

Source

Examples

dgX <- deldir(grapherXmpl) # Now works!!!`

deldir

Delaunay Triangulation and Dirichlet (Voronoi) Tessellation

v0.2-10
GPL (>= 2)
Authors
Rolf Turner
Initial release
2021-02-16

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.