inst/doc/geometries.R

## ---- include = FALSE---------------------------------------------------------
knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#"
)

## ----setup--------------------------------------------------------------------
library(geometries)
library(Rcpp)

## -----------------------------------------------------------------------------

df <- data.frame(
  id1 = c( rep(1,12), rep(2, 12) )
  , id2 = c( rep(1:4, each = 3), rep(1:4, each = 3) )
  , x = 1:24
  , y = 24:1
)

df

Try the geometries package in your browser

Any scripts or data that you put into this service are public.

geometries documentation built on July 9, 2023, 6:10 p.m.