| Attorney | R Documentation |
Data for Example 2.2 and Exercises 2.43 and 2.57
Attorney
A data frame/tibble with 88 observations on three variables
U.S. attorneys' office staff per 1 million population
U.S. attorneys' office convictions per 1 million population
a factor with levels
Albuquerque, Alexandria, Va, Anchorage, Asheville,
NC, Atlanta, Baltimore, Baton Rouge, Billings, Mt,
Birmingham, Al, Boise, Id, Boston, Buffalo,
Burlington, Vt, Cedar Rapids, Charleston, WVA,
Cheyenne, Wy, Chicago, Cincinnati, Cleveland,
Columbia, SC, Concord, NH, Denver, Des Moines,
Detroit, East St. Louis, Fargo, ND, Fort Smith, Ark,
Fort Worth, Grand Rapids, Mi, Greensboro, NC,
Honolulu, Houston, Indianapolis, Jackson, Miss,
Kansas City, Knoxville, Tn, Las Vegas, Lexington,
Ky, Little Rock, Los Angeles, Louisville, Memphis,
Miami, Milwaukee, Minneapolis, Mobile, Ala,
Montgomery, Ala, Muskogee, Ok, Nashville, New Haven,
Conn, New Orleans, New York (Brooklyn), New York
(Manhattan), Newark, NJ, Oklahoma City, Omaha,
Oxford, Miss, Pensacola, Fl, Philadelphia, Phoenix,
Pittsburgh, Portland, Maine, Portland, Ore,
Providence, RI, Raleigh, NC, Roanoke, Va,
Sacramento, Salt Lake City, San Antonio, San Diego,
San Francisco, Savannah, Ga, Scranton, Pa, Seattle,
Shreveport, La, Sioux Falls, SD, South Bend, Ind,
Spokane, Wash ,Springfield, Ill, St. Louis,
Syracuse, NY, Tampa, Topeka, Kan, Tulsa,
Tyler, Tex, Washington, Wheeling, WVa, and Wilmington,
Del
Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a division of Thomson Learning.
par(mfrow=c(1, 2))
plot(convict ~ staff, data = Attorney, main = "With Washington, D.C.")
plot(convict[-86] ~staff[-86], data = Attorney,
main = "Without Washington, D.C.")
par(mfrow=c(1, 1))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.