Description Usage Format Details Source References Examples
Data for the 50 United States, including crime statistics.
1 | data("states_data")
|
A data frame with 50 observations on the following 16 variables.
state
a factor with levels Alabama
Alaska
Arizona
Arkansas
California
Colorado
Connecticut
Delaware
Florida
Georgia
Hawaii
Idaho
Illinois
Indiana
Iowa
Kansas
Kentucky
Louisiana
Maine
Maryland
Massachusetts
Michigan
Minnesota
Mississippi
Missouri
Montana
Nebraska
Nevada
New Hampshire
New Jersey
New Mexico
New York
North Carolina
North Dakota
Ohio
Oklahoma
Oregon
Pennsylvania
Rhode Island
South Carolina
South Dakota
Tennessee
Texas
Utah
Vermont
Virginia
Washington
West Virginia
Wisconsin
Wyoming
abbreviation
a factor with levels AK
AL
AR
AZ
CA
CO
CT
DE
FL
GA
HI
IA
ID
IL
IN
KS
KY
LA
MA
MD
ME
MI
MN
MO
MS
MT
NC
ND
NE
NH
NJ
NM
NV
NY
OH
OK
OR
PA
RI
SC
SD
TN
TX
UT
VA
VT
WA
WI
WV
WY
region
a factor with levels NC
NE
SO
WE
murder
a numeric vector
rape
a numeric vector
assault
a numeric vector
violent.crime
a numeric vector
urban.population
a numeric vector
total.population
a numeric vector
hs.graduation
a numeric vector
income
a numeric vector
Life.Exp.Total
a numeric vector
Life.Exp.Male
a numeric vector
Life.Exp.Female
a numeric vector
Temp.F
a numeric vector
Temp.C
a numeric vector
None.
U.S. Department of Commerce, Bureau of the Census Statistical Abstract of the United States.
U.S. Department of Commerce, Bureau of the Census County and City Data Book.
Becker, R. A., Chambers, J. M. and Wilks, A. R. (1988) The New S Language. Wadsworth & Brooks/Cole.
1 2 | data(states_data)
## maybe str(states_data)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.