Learn R Programming

spfilteR (version 2.1.0)

fakedata: Synthetic Dataset

Description

An artificially generated cross-sectional dataset together with an accompanying binary connectivity matrix W. The \(n=100\) units are located on a regular grid and W is defined according to rook's adjacency definition of contiguity. The synthetic data can be used to illustrate the functionality of this package.

Usage

data(fakedata)

W

Arguments

Value

The file contains two objects:

fakedataseta synthetic dataset
Wan artificial spatial connectivity matrix

Format

An object of class data.frame with 100 rows and 8 columns.

An object of class matrix (inherits from array) with 100 rows and 100 columns.

Examples

Run this code

data(fakedata)
head(fakedataset)
dim(W)

Run the code above in your browser using DataLab