USCrime | R Documentation |
Us crime classic data table that can be used to generate symbolic data tables.
data(USCrime)
An object of class data.frame
with 1994 rows and 103 columns.
http://archive.ics.uci.edu/ml/
HASTIE, T., TIBSHIRANI, R. and FRIEDMAN, J. (2008). The Elements of Statistical Learning: Data Mining, Inference and Prediction. New York: Springer.
## 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.