DataSet1: [+] Dataset: a data frame for illustrations

Description Usage Format Author(s) Source Examples

Description

A dataset containing example data with variables ID, gr and .row.

Usage

1

Format

A data frame with 40 rows and 3 variables:

ID

An identification code.

gr

A factor variable with 4 groups.

.row

A row number.

Author(s)

Vilmantas Gegzna

Source

Artificially generated in R.

Examples

1
2
3
4
5
   DataSet1 <- data.frame(ID = gl(n = 20, k = 2),
                         gr = gl(n = 4, labels = LETTERS[1:4], k = 10))
   DataSet1$.row <- 1:nrow(DataSet1)

   # devtools::use_data(DataSet1)

GegznaV/spPlot documentation built on April 29, 2020, 11:06 p.m.