Thompson1990Fig1Pop: Example dataset from Figure 1 from Thompson (1990)

Thompson1990Fig1PopR Documentation

Example dataset from Figure 1 from Thompson (1990)

Description

An example dataset from Figure 1 from Thompson (1990) containing the information on the y-values associated with units in a 20 by 20 unit grid.

  • x. X coordinate.

  • y. Y coordinate.

  • NetworkID. A unique number identifying the network to which the unit belongs.

  • m. The number of units in the given network.

  • y_value. The y-value associated with the unit.

Format

A data frame with 400 rows and 5 variables

References

\insertRef

thompson1990adaptiveACSampling

Examples

library(ggplot2)

data(Thompson1990Fig1Pop)
data(Thompson1990Fig1Sample)

# plot population
library(ggplot2)
ggplot(data=Thompson1990Fig1Pop, aes(x,y, size=factor(y_value), shape=factor(y_value))) +
	geom_point() +
	scale_shape_manual(values=c(1, rep(16, length(2:13))))

# plot sample overlaid onto population
ggplot() +
	geom_point(data=Thompson1990Fig1Pop, aes(x,y, size=factor(y_value),
		shape=factor(y_value))) +
	scale_shape_manual(values=c(1, rep(16, length(2:13)))) +
	geom_point(data=Thompson1990Fig1Sample, aes(x,y), shape=0, size=7)

ksauby/ACS documentation built on Aug. 18, 2022, 3:33 a.m.