USCrime: Us crime classic data table

USCrimeR Documentation

Us crime classic data table

Description

Us crime classic data table that can be used to generate symbolic data tables.

Usage

data(USCrime)

Format

An object of class data.frame with 1994 rows and 103 columns.

Source

http://archive.ics.uci.edu/ml/

References

HASTIE, T., TIBSHIRANI, R. and FRIEDMAN, J. (2008). The Elements of Statistical Learning: Data Mining, Inference and Prediction. New York: Springer.

Examples

## Not run: 
data(USCrime)
us.crime <- USCrime
dim(us.crime)
head(us.crime)
summary(us.crime)
names(us.crime)
nrow(us.crime)
result <- classic.to.sym(us.crime,
  concept = "state",
  variables = c(NumInShelters, NumImmig),
  variables.types = c(
    NumInShelters = type.histogram(),
    NumImmig = type.histogram()
  )
)
result

## End(Not run)

RSDA documentation built on Nov. 10, 2023, 5:06 p.m.