barcode

R의 내장 데이터 (부제: 공공데이터 어떻게 받아요?)

Coding/R

실습용 데이터는 어지간하면 가상으로 만드는 편이지만, R에는 내장데이터가 겁나 풍부하다. 무슨 패키지 깔면 데이터 드리는 수준... 

오늘은 그래서 본인 컴퓨터에 있는 R 내장 데이터 목록을 싹 털었다. 덤으로 ggplot편에 나온 데이터 출처 가르쳐드림. 


들어가기 전에

소환하고 싶은 내장 데이터가 있다면 

> dat=data(BJsales)

걍 이렇게 부르면 된다. 

 

> data(baseball)
경고메시지(들): 
In data(baseball) : 데이터셋 ‘baseball’을 찾을 수 없습니다
# 라이브러리가 필요한 건 그냥 부르면 에러뜬다
> library(plyr)
> data(baseball)
# 라이브러리를 부르고 부르자

라이브러리가 있어야 하는 건 라이브러리 부르고 불러야된다.. 


Q. 그 데이터 으데서 받습니까? 

A. 공공데이터포털이라고 있음. 

https://www.data.go.kr/

 

공공데이터 포털

국가에서 보유하고 있는 다양한 데이터를『공공데이터의 제공 및 이용 활성화에 관한 법률(제11956호)』에 따라 개방하여 국민들이 보다 쉽고 용이하게 공유•활용할 수 있도록 공공데이터(Datase

www.data.go.kr

여기서 데이터 찾기 들어가시면 세상천지 대한민국 데이터는 다 있음. (제주도 야채 데이터도 저기서 받음)

근데 csv파일로 제공되는 데이터 중에 한글이 깨지는게 좀 있어서 그건 조심해야 합니다. 다른 인코딩은 모르겠고 UTF-8로 했는데 꺠지는건 문제 아니냐... 


R 내장 데이터 목록

boot

Data sets in package ‘boot’:

acme                    Monthly Excess Returns
aids                    Delay in AIDS Reporting in England and Wales
aircondit               Failures of Air-conditioning Equipment
aircondit7              Failures of Air-conditioning Equipment
amis                    Car Speeding and Warning Signs
aml                     Remission Times for Acute Myelogenous Leukaemia
beaver                  Beaver Body Temperature Data
bigcity                 Population of U.S. Cities
brambles                Spatial Location of Bramble Canes
breslow                 Smoking Deaths Among Doctors
calcium                 Calcium Uptake Data
cane                    Sugar-cane Disease Data
capability              Simulated Manufacturing Process Data
catsM                   Weight Data for Domestic Cats
cav                     Position of Muscle Caveolae
cd4                     CD4 Counts for HIV-Positive Patients
cd4.nested              Nested Bootstrap of cd4 data
channing                Channing House Data
city                    Population of U.S. Cities
claridge                Genetic Links to Left-handedness
cloth                   Number of Flaws in Cloth
co.transfer             Carbon Monoxide Transfer
coal                    Dates of Coal Mining Disasters
darwin                  Darwin's Plant Height Differences
dogs                    Cardiac Data for Domestic Dogs
downs.bc                Incidence of Down's Syndrome in British
                        Columbia
ducks                   Behavioral and Plumage Characteristics of
                        Hybrid Ducks
fir                     Counts of Balsam-fir Seedlings
frets                   Head Dimensions in Brothers
grav                    Acceleration Due to Gravity
gravity                 Acceleration Due to Gravity
hirose                  Failure Time of PET Film
islay                   Jura Quartzite Azimuths on Islay
manaus                  Average Heights of the Rio Negro river at
                        Manaus
melanoma                Survival from Malignant Melanoma
motor                   Data from a Simulated Motorcycle Accident
neuro                   Neurophysiological Point Process Data
nitrofen                Toxicity of Nitrofen in Aquatic Systems
nodal                   Nodal Involvement in Prostate Cancer
nuclear                 Nuclear Power Station Construction Data
paulsen                 Neurotransmission in Guinea Pig Brains
poisons                 Animal Survival Times
polar                   Pole Positions of New Caledonian Laterites
remission               Cancer Remission and Cell Activity
salinity                Water Salinity and River Discharge
survival                Survival of Rats after Radiation Doses
tau                     Tau Particle Decay Modes
tuna                    Tuna Sighting Data
urine                   Urine Analysis Data
wool                    Australian Relative Wool Prices

 

carData

Data sets in package ‘carData’:

AMSsurvey               American Math Society Survey Data
Adler                   Experimenter Expectations
Angell                  Moral Integration of American Cities
Anscombe                U. S. State Public-School Expenditures
Arrests                 Arrests for Marijuana Possession
BEPS                    British Election Panel Study
Baumann                 Methods of Teaching Reading Comprehension
Bfox                    Canadian Women's Labour-Force Participation
Blackmore               Exercise Histories of Eating-Disordered and
                        Control Subjects
Burt                    Fraudulent Data on IQs of Twins Raised Apart
CES11                   2011 Canadian National Election Study, With
                        Attitude Toward Abortion
CanPop                  Canadian Population Data
Chile                   Voting Intentions in the 1988 Chilean
                        Plebiscite
Chirot                  The 1907 Romanian Peasant Rebellion
Cowles                  Cowles and Davis's Data on Volunteering
Davis                   Self-Reports of Height and Weight
DavisThin               Davis's Data on Drive for Thinness
Depredations            Minnesota Wolf Depredation Data
Duncan                  Duncan's Occupational Prestige Data
Ericksen                The 1980 U.S. Census Undercount
Florida                 Florida County Voting
Freedman                Crowding and Crime in U. S. Metropolitan Areas
Friendly                Format Effects on Recall
GSSvocab                Data from the General Social Survey (GSS) from
                        the National Opinion Research Center of the
                        University of Chicago.
Ginzberg                Data on Depression
Greene                  Refugee Appeals
Guyer                   Anonymity and Cooperation
Hartnagel               Canadian Crime-Rates Time Series
Highway1                Highway Accidents
KosteckiDillon          Treatment of Migraine Headaches
Leinhardt               Data on Infant-Mortality
LoBD                    Cancer drug data use to provide an example of
                        the use of the skew power distributions.
Mandel                  Contrived Collinear Data
Migration               Canadian Interprovincial Migration Data
Moore                   Status, Authoritarianism, and Conformity
MplsDemo                Minneapolis Demographic Data 2015, by
                        Neighborhood
MplsStops               Minneapolis Police Department 2017 Stop Data
Mroz                    U.S. Women's Labor-Force Participation
OBrienKaiser            O'Brien and Kaiser's Repeated-Measures Data
OBrienKaiserLong        O'Brien and Kaiser's Repeated-Measures Data in
                        "Long" Format
Ornstein                Interlocking Directorates Among Major Canadian
                        Firms
Pottery                 Chemical Composition of Pottery
Prestige                Prestige of Canadian Occupations
Quartet                 Four Regression Datasets
Robey                   Fertility and Contraception
Rossi                   Rossi et al.'s Criminal Recidivism Data
SLID                    Survey of Labour and Income Dynamics
Sahlins                 Agricultural Production in Mazulu Village
Salaries                Salaries for Professors
Soils                   Soil Compositions of Physical and Chemical
                        Characteristics
States                  Education and Related Statistics for the U.S.
                        States
TitanicSurvival         Survival of Passengers on the Titanic
Transact                Transaction data
UN                      National Statistics from the United Nations,
                        Mostly From 2009-2011
UN98                    United Nations Social Indicators Data 1998]
USPop                   Population of the United States
Vocab                   Vocabulary and Education
WVS                     World Values Surveys
WeightLoss              Weight Loss Data
Wells                   Well Switching in Bangladesh
Womenlf                 Canadian Women's Labour-Force Participation
Wong                    Post-Coma Recovery of IQ
Wool                    Wool data

 

caret

Data sets in package ‘caret’:

GermanCredit            German Credit Data
Sacramento              Sacramento CA Home Prices
absorp (tecator)        Fat, Water and Protein Content of Meat Samples
bbbDescr (BloodBrain)   Blood Brain Barrier Data
cars                    Kelly Blue Book resale data for 2005 model year
                        GM cars
cox2Class (cox2)        COX-2 Activity Data
cox2Descr (cox2)        COX-2 Activity Data
cox2IC50 (cox2)         COX-2 Activity Data
dhfr                    Dihydrofolate Reductase Inhibitors Data
endpoints (tecator)     Fat, Water and Protein Content of Meat Samples
fattyAcids (oil)        Fatty acid composition of commercial oils
logBBB (BloodBrain)     Blood Brain Barrier Data
mdrrClass (mdrr)        Multidrug Resistance Reversal (MDRR) Agent Data
mdrrDescr (mdrr)        Multidrug Resistance Reversal (MDRR) Agent Data
oilType (oil)           Fatty acid composition of commercial oils
potteryClass (pottery)
                        Pottery from Pre-Classical Sites in Italy
scat                    Morphometric Data on Scat
scat_orig (scat)        Morphometric Data on Scat
segmentationData        Cell Body Segmentation

 

cluster

Data sets in package ‘cluster’:

agriculture             European Union Agricultural Workforces
animals                 Attributes of Animals
chorSub                 Subset of C-horizon of Kola Data
flower                  Flower Characteristics
plantTraits             Plant Species Traits Data
pluton                  Isotopic Composition Plutonium Batches
ruspini                 Ruspini Data
votes.repub             Votes for Republican Candidate in Presidential
                        Elections
xclara                  Bivariate Data Set with 3 Clusters

 

colorspace

Data sets in package ‘colorspace’:

USSouthPolygon          Polygon for County Map of US South States:
                        Alabama, Georgia, and South Carolina
max_chroma_table        Compute Maximum Chroma for Given Hue and
                        Luminance in HCL

 

datasets

Data sets in package ‘datasets’:

AirPassengers           Monthly Airline Passenger Numbers 1949-1960
BJsales                 Sales Data with Leading Indicator
BJsales.lead (BJsales)
                        Sales Data with Leading Indicator
BOD                     Biochemical Oxygen Demand
CO2                     Carbon Dioxide Uptake in Grass Plants
ChickWeight             Weight versus age of chicks on different diets
DNase                   Elisa assay of DNase
EuStockMarkets          Daily Closing Prices of Major European Stock
                        Indices, 1991-1998
Formaldehyde            Determination of Formaldehyde
HairEyeColor            Hair and Eye Color of Statistics Students
Harman23.cor            Harman Example 2.3
Harman74.cor            Harman Example 7.4
Indometh                Pharmacokinetics of Indomethacin
InsectSprays            Effectiveness of Insect Sprays
JohnsonJohnson          Quarterly Earnings per Johnson & Johnson Share
LakeHuron               Level of Lake Huron 1875-1972
LifeCycleSavings        Intercountry Life-Cycle Savings Data
Loblolly                Growth of Loblolly pine trees
Nile                    Flow of the River Nile
Orange                  Growth of Orange Trees
OrchardSprays           Potency of Orchard Sprays
PlantGrowth             Results from an Experiment on Plant Growth
Puromycin               Reaction Velocity of an Enzymatic Reaction
Seatbelts               Road Casualties in Great Britain 1969-84
Theoph                  Pharmacokinetics of Theophylline
Titanic                 Survival of passengers on the Titanic
ToothGrowth             The Effect of Vitamin C on Tooth Growth in
                        Guinea Pigs
UCBAdmissions           Student Admissions at UC Berkeley
UKDriverDeaths          Road Casualties in Great Britain 1969-84
UKgas                   UK Quarterly Gas Consumption
USAccDeaths             Accidental Deaths in the US 1973-1978
USArrests               Violent Crime Rates by US State
USJudgeRatings          Lawyers' Ratings of State Judges in the US
                        Superior Court
USPersonalExpenditure   Personal Expenditure Data
UScitiesD               Distances Between European Cities and Between
                        US Cities
VADeaths                Death Rates in Virginia (1940)
WWWusage                Internet Usage per Minute
WorldPhones             The World's Telephones
ability.cov             Ability and Intelligence Tests
airmiles                Passenger Miles on Commercial US Airlines,
                        1937-1960
airquality              New York Air Quality Measurements
anscombe                Anscombe's Quartet of 'Identical' Simple Linear
                        Regressions
attenu                  The Joyner-Boore Attenuation Data
attitude                The Chatterjee-Price Attitude Data
austres                 Quarterly Time Series of the Number of
                        Australian Residents
beaver1 (beavers)       Body Temperature Series of Two Beavers
beaver2 (beavers)       Body Temperature Series of Two Beavers
cars                    Speed and Stopping Distances of Cars
chickwts                Chicken Weights by Feed Type
co2                     Mauna Loa Atmospheric CO2 Concentration
crimtab                 Student's 3000 Criminals Data
discoveries             Yearly Numbers of Important Discoveries
esoph                   Smoking, Alcohol and (O)esophageal Cancer
euro                    Conversion Rates of Euro Currencies
euro.cross (euro)       Conversion Rates of Euro Currencies
eurodist                Distances Between European Cities and Between
                        US Cities
faithful                Old Faithful Geyser Data
fdeaths (UKLungDeaths)
                        Monthly Deaths from Lung Diseases in the UK
freeny                  Freeny's Revenue Data
freeny.x (freeny)       Freeny's Revenue Data
freeny.y (freeny)       Freeny's Revenue Data
infert                  Infertility after Spontaneous and Induced
                        Abortion
iris                    Edgar Anderson's Iris Data
iris3                   Edgar Anderson's Iris Data
islands                 Areas of the World's Major Landmasses
ldeaths (UKLungDeaths)
                        Monthly Deaths from Lung Diseases in the UK
lh                      Luteinizing Hormone in Blood Samples
longley                 Longley's Economic Regression Data
lynx                    Annual Canadian Lynx trappings 1821-1934
mdeaths (UKLungDeaths)
                        Monthly Deaths from Lung Diseases in the UK
morley                  Michelson Speed of Light Data
mtcars                  Motor Trend Car Road Tests
nhtemp                  Average Yearly Temperatures in New Haven
nottem                  Average Monthly Temperatures at Nottingham,
                        1920-1939
npk                     Classical N, P, K Factorial Experiment
occupationalStatus      Occupational Status of Fathers and their Sons         
precip                  Annual Precipitation in US Cities
presidents              Quarterly Approval Ratings of US Presidents
pressure                Vapor Pressure of Mercury as a Function of
                        Temperature
quakes                  Locations of Earthquakes off Fiji
randu                   Random Numbers from Congruential Generator
                        RANDU
rivers                  Lengths of Major North American Rivers
rock                    Measurements on Petroleum Rock Samples
sleep                   Student's Sleep Data
stack.loss (stackloss)
                        Brownlee's Stack Loss Plant Data
stack.x (stackloss)     Brownlee's Stack Loss Plant Data
stackloss               Brownlee's Stack Loss Plant Data
state.abb (state)       US State Facts and Figures
state.area (state)      US State Facts and Figures
state.center (state)    US State Facts and Figures
state.division (state)
                        US State Facts and Figures
state.name (state)      US State Facts and Figures
state.region (state)    US State Facts and Figures
state.x77 (state)       US State Facts and Figures
sunspot.month           Monthly Sunspot Data, from 1749 to "Present"
sunspot.year            Yearly Sunspot Data, 1700-1988
sunspots                Monthly Sunspot Numbers, 1749-1983
swiss                   Swiss Fertility and Socioeconomic Indicators
                        (1888) Data
treering                Yearly Treering Data, -6000-1979
trees                   Diameter, Height and Volume for Black Cherry
                        Trees
uspop                   Populations Recorded by the US Census
volcano                 Topographic Information on Auckland's Maunga
                        Whau Volcano
warpbreaks              The Number of Breaks in Yarn during Weaving
women                   Average Heights and Weights for American Women

 

doBy

Data sets in package ‘doBy’:

NIRmilk                 NIRmilk
beets                   beets data
breastcancer            Gene expression signatures for p53 mutation
                        status in 250 breast cancer samples
budworm                 budworm data
carcass                 Lean meat contents of 344 pig carcasses
carcassall              Lean meat contents of 344 pig carcasses
codstom                 Diet of Atlantic cod in the Gulf of St.
                        Lawrence (Canada)
crimeRate               crimeRate
cropyield               Yield from Danish agricultural production of
                        grain and root crop.
dietox                  Growth curves of pigs in a 3x3 factorial
                        experiment
fatacid                 Fish oil in pig food
fev                     Forced expiratory volume in children
haldCement              Heat development in cement under hardening.
math                    Mathematics marks for students
mathmark                Mathematics marks for students
milkman                 Milk yield data for manually milked cows.
milkman_rdm1            Milk yield data for manually milked cows.
potatoes                Weight and size of 20 potatoes

 

dplyr

Data sets in package ‘dplyr’:

band_instruments        Band membership
band_instruments2       Band membership
band_members            Band membership
starwars                Starwars characters
storms                  Storm tracks data

 

ggplot2

Data sets in package ‘ggplot2’:

diamonds                Prices of over 50,000 round cut diamonds
economics               US economic time series
economics_long          US economic time series
faithfuld               2d density estimate of Old Faithful data
luv_colours             'colors()' in Luv space
midwest                 Midwest demographics
mpg                     Fuel economy data from 1999 to 2008 for 38
                        popular models of cars
msleep                  An updated and expanded version of the mammals
                        sleep dataset
presidential            Terms of 11 presidents from Eisenhower to Obama
seals                   Vector field of seal movements
txhousing               Housing sales in TX

 

ipred

Data sets in package ‘ipred’:

DLBCL                   Diffuse Large B-Cell Lymphoma
GlaucomaMVF             Glaucoma Database
Smoking                 Smoking Styles
dystrophy               Detection of muscular dystrophy carriers.

 

irr

Data sets in package ‘irr’:

anxiety                 Anxiety ratings by different raters
diagnoses               Psychiatric diagnoses provided by different
                        raters
video                   Different raters judging the credibility of
                        videotaped testimonies
vision                  Eye-testing case records

 

lattice

Data sets in package ‘lattice’:

USMortality             Mortality Rates in US by Cause and Gender
USRegionalMortality     Mortality Rates in US by Cause and Gender
barley                  Yield data from a Minnesota barley trial
environmental           Atmospheric environmental conditions in New
                        York City
ethanol                 Engine exhaust fumes from burning ethanol
melanoma                Melanoma skin cancer incidence
singer                  Heights of New York Choral Society singers

 

lava

Data sets in package ‘lava’:

bmd                     Longitudinal Bone Mineral Density Data (Wide
                        format)
bmidata                 Data
brisa                   Simulated data
calcium                 Longitudinal Bone Mineral Density Data
hubble                  Hubble data
hubble2                 Hubble data
indoorenv               Data
missingdata             Missing data example
nldata                  Example data (nonlinear model)
nsem                    Example SEM data (nonlinear)
semdata                 Example SEM data
serotonin               Serotonin data
serotonin2              Data
twindata                Twin menarche data

 

lme4

Data sets in package ‘lme4’:

Arabidopsis             Arabidopsis clipping/fertilization data
Dyestuff                Yield of dyestuff by batch
Dyestuff2               Yield of dyestuff by batch
InstEval                University Lecture/Instructor Evaluations by
                        Students at ETH
Pastes                  Paste strength by batch and cask
Penicillin              Variation in penicillin testing
VerbAgg                 Verbal Aggression item responses
cake                    Breakage Angle of Chocolate Cakes
cbpp                    Contagious bovine pleuropneumonia
grouseticks             Data on red grouse ticks from Elston et al.
                        2001
grouseticks_agg (grouseticks)
                        Data on red grouse ticks from Elston et al.
                        2001
sleepstudy              Reaction times in a sleep deprivation study

 

lubridate

Data sets in package ‘lubridate’:

lakers                  Lakers 2008-2009 basketball data set

Data sets in package ‘maptools’:

SplashDams              Data for Splash Dams in western Oregon
h1pl (gpcholes)         Hisaji Ono's lake/hole problem
h2pl (gpcholes)         Hisaji Ono's lake/hole problem
state.vbm               US State Visibility Based Map
wrld_simpl              Simplified world country polygons

 

MASS

Data sets in package ‘MASS’:

Aids2                   Australian AIDS Survival Data
Animals                 Brain and Body Weights for 28 Species
Boston                  Housing Values in Suburbs of Boston
Cars93                  Data from 93 Cars on Sale in the USA in 1993
Cushings                Diagnostic Tests on Patients with Cushing's
                        Syndrome
DDT                     DDT in Kale
GAGurine                Level of GAG in Urine of Children
Insurance               Numbers of Car Insurance claims
Melanoma                Survival from Malignant Melanoma
OME                     Tests of Auditory Perception in Children with
                        OME
Pima.te                 Diabetes in Pima Indian Women
Pima.tr                 Diabetes in Pima Indian Women
Pima.tr2                Diabetes in Pima Indian Women
Rabbit                  Blood Pressure in Rabbits
Rubber                  Accelerated Testing of Tyre Rubber
SP500                   Returns of the Standard and Poors 500
Sitka                   Growth Curves for Sitka Spruce Trees in 1988
Sitka89                 Growth Curves for Sitka Spruce Trees in 1989
Skye                    AFM Compositions of Aphyric Skye Lavas
Traffic                 Effect of Swedish Speed Limits on Accidents
UScereal                Nutritional and Marketing Information on US
                        Cereals
UScrime                 The Effect of Punishment Regimes on Crime Rates
VA                      Veteran's Administration Lung Cancer Trial
abbey                   Determinations of Nickel Content
accdeaths               Accidental Deaths in the US 1973-1978
anorexia                Anorexia Data on Weight Change
bacteria                Presence of Bacteria after Drug Treatments
beav1                   Body Temperature Series of Beaver 1
beav2                   Body Temperature Series of Beaver 2
biopsy                  Biopsy Data on Breast Cancer Patients
birthwt                 Risk Factors Associated with Low Infant Birth
                        Weight
cabbages                Data from a cabbage field trial
caith                   Colours of Eyes and Hair of People in Caithness
cats                    Anatomical Data from Domestic Cats
cement                  Heat Evolved by Setting Cements
chem                    Copper in Wholemeal Flour
coop                    Co-operative Trial in Analytical Chemistry
cpus                    Performance of Computer CPUs
crabs                   Morphological Measurements on Leptograpsus
                        Crabs
deaths                  Monthly Deaths from Lung Diseases in the UK
drivers                 Deaths of Car Drivers in Great Britain 1969-84
eagles                  Foraging Ecology of Bald Eagles
epil                    Seizure Counts for Epileptics
farms                   Ecological Factors in Farm Management
fgl                     Measurements of Forensic Glass Fragments
forbes                  Forbes' Data on Boiling Points in the Alps
galaxies                Velocities for 82 Galaxies
gehan                   Remission Times of Leukaemia Patients
genotype                Rat Genotype Data
geyser                  Old Faithful Geyser Data
gilgais                 Line Transect of Soil in Gilgai Territory
hills                   Record Times in Scottish Hill Races
housing                 Frequency Table from a Copenhagen Housing
                        Conditions Survey
immer                   Yields from a Barley Field Trial
leuk                    Survival Times and White Blood Counts for
                        Leukaemia Patients
mammals                 Brain and Body Weights for 62 Species of Land
                        Mammals
mcycle                  Data from a Simulated Motorcycle Accident
menarche                Age of Menarche in Warsaw
michelson               Michelson's Speed of Light Data
minn38                  Minnesota High School Graduates of 1938
motors                  Accelerated Life Testing of Motorettes
muscle                  Effect of Calcium Chloride on Muscle
                        Contraction in Rat Hearts
newcomb                 Newcomb's Measurements of the Passage Time of
                        Light
nlschools               Eighth-Grade Pupils in the Netherlands
npk                     Classical N, P, K Factorial Experiment
npr1                    US Naval Petroleum Reserve No. 1 data
oats                    Data from an Oats Field Trial
painters                The Painter's Data of de Piles
petrol                  N. L. Prater's Petrol Refinery Data
phones                  Belgium Phone Calls 1950-1973
quine                   Absenteeism from School in Rural New South
                        Wales
road                    Road Accident Deaths in US States
rotifer                 Numbers of Rotifers by Fluid Density
ships                   Ships Damage Data
shoes                   Shoe wear data of Box, Hunter and Hunter
shrimp                  Percentage of Shrimp in Shrimp Cocktail
shuttle                 Space Shuttle Autolander Problem
snails                  Snail Mortality Data
steam                   The Saturated Steam Pressure Data
stormer                 The Stormer Viscometer Data
survey                  Student Survey Data
synth.te                Synthetic Classification Problem
synth.tr                Synthetic Classification Problem
topo                    Spatial Topographic Data
waders                  Counts of Waders at 15 Sites in South Africa
whiteside               House Insulation: Whiteside's Data
wtloss                  Weight Loss Data from an Obese Patient

 

Matrix

Data sets in package ‘Matrix’:

CAex                    Albers' example Matrix with "Difficult" Eigen
                        Factorization
KNex                    Koenker-Ng Example Sparse Model Matrix and
                        Response Vector
USCounties              USCounties Contiguity Matrix
wrld_1deg               World 1-degree grid contiguity matrix

 

mgcv

Data sets in package ‘mgcv’:

columb                  Reduced version of Columbus OH crime data
columb.polys            Reduced version of Columbus OH crime data

 

ModelMetrices

Data sets in package ‘ModelMetrics’:

testDF                  Test data

 

nlme

Data sets in package ‘nlme’:

Alfalfa                 Split-Plot Experiment on Varieties of Alfalfa
Assay                   Bioassay on Cell Culture Plate
BodyWeight              Rat weight over time for different diets
Cefamandole             Pharmacokinetics of Cefamandole
Dialyzer                High-Flux Hemodialyzer
Earthquake              Earthquake Intensity
Fatigue                 Cracks caused by metal fatigue
Gasoline                Refinery yield of gasoline
Glucose                 Glucose levels over time
Glucose2                Glucose Levels Following Alcohol Ingestion
Gun                     Methods for firing naval guns
IGF                     Radioimmunoassay of IGF-I Protein
Machines                Productivity Scores for Machines and Workers
MathAchSchool           School demographic data for MathAchieve
MathAchieve             Mathematics achievement scores
Meat                    Tenderness of meat
Milk                    Protein content of cows' milk
Muscle                  Contraction of heart muscle sections
Nitrendipene            Assay of nitrendipene
Oats                    Split-plot Experiment on Varieties of Oats
Orthodont               Growth curve data on an orthdontic measurement
Ovary                   Counts of Ovarian Follicles
Oxboys                  Heights of Boys in Oxford
Oxide                   Variability in Semiconductor Manufacturing
PBG                     Effect of Phenylbiguanide on Blood Pressure
Phenobarb               Phenobarbitol Kinetics
Pixel                   X-ray pixel intensities over time
Quinidine               Quinidine Kinetics
Rail                    Evaluation of Stress in Railway Rails
RatPupWeight            The weight of rat pups
Relaxin                 Assay for Relaxin
Remifentanil            Pharmacokinetics of Remifentanil
Soybean                 Growth of soybean plants
Spruce                  Growth of Spruce Trees
Tetracycline1           Pharmacokinetics of tetracycline
Tetracycline2           Pharmacokinetics of tetracycline
Wafer                   Modeling of Analog MOS Circuits
Wheat                   Yields by growing conditions
Wheat2                  Wheat Yield Trials
bdf                     Language scores
ergoStool               Ergometrics experiment with stool types

 

pbkrtest

Data sets in package ‘pbkrtest’:

beets                   Sugar beets data
budworm                 budworm data

 

plyr

Data sets in package ‘plyr’:

baseball                Yearly batting records for all major league
                        baseball players
ozone                   Monthly ozone measurements over Central
                        America.

 

pROC

Data sets in package ‘pROC’:

aSAH                    Subarachnoid hemorrhage data

 

quantreg

Data sets in package ‘quantreg’:

Bosco                   Boscovich Data
CobarOre                Cobar Ore data
Mammals                 Garland(1983) Data on Running Speed of Mammals
Peirce                  C.S. Peirce's Auditory Response Data
barro                   Barro Data
engel                   Engel Data
gasprice                Time Series of US Gasoline Prices
uis                     UIS Drug Treatment study data

 

reshape

Data sets in package ‘reshape’:

french_fries            Sensory data from a french fries experiment
smiths                  Demo data describing the Smiths
tips                    Tipping data

 

reshape2

Data sets in package ‘reshape2’:

french_fries            Sensory data from a french fries experiment.
smiths                  Demo data describing the Smiths.
tips                    Tipping data

 

rpart

Data sets in package ‘rpart’:

car.test.frame          Automobile Data from 'Consumer Reports' 1990
car90                   Automobile Data from 'Consumer Reports' 1990
cu.summary              Automobile Data from 'Consumer Reports' 1990
kyphosis                Data on Children who have had Corrective Spinal
                        Surgery
solder                  Soldering of Components on Printed-Circuit
                        Boards
solder.balance (solder)
                        Soldering of Components on Printed-Circuit
                        Boards
stagec                  Stage C Prostate Cancer

 

sp

Data sets in package ‘sp’:

Rlogo                   Rlogo jpeg image
gt (Rlogo)              Rlogo jpeg image
meuse                   Meuse river data set
meuse.area              River Meuse outline
meuse.grid              Prediction Grid for Meuse Data Set
meuse.grid_ll           Prediction Grid for Meuse Data Set,
                        geographical coordinates
meuse.riv               River Meuse outline

 

SparseM

Data sets in package ‘SparseM’:

X (triogramX)           A Design Matrix for a Triogram Problem
lsq                     Least Squares Problems in Surveying

 

ssanv

Data sets in package ‘ssanv’:

example.of.Fisher.exact
                        Object of class 'power.htest'

 

stringr

Data sets in package ‘stringr’:

fruit                   Sample character vectors for practicing string
                        manipulations.
sentences               Sample character vectors for practicing string
                        manipulations.
words                   Sample character vectors for practicing string
                        manipulations.

 

survival

Data sets in package ‘survival’:

aml (cancer)            Acute Myelogenous Leukemia survival data
bladder (cancer)        Bladder Cancer Recurrences
bladder1 (cancer)       Bladder Cancer Recurrences
bladder2 (cancer)       Bladder Cancer Recurrences
cancer                  NCCTG Lung Cancer Data
capacitor (reliability)
                        Reliability data sets
cgd                     Chronic Granulotamous Disease data
cgd0 (cgd)              Chronic Granulotomous Disease data
colon (cancer)          Chemotherapy for Stage B/C colon cancer
cracks (reliability)    Reliability data sets
diabetic                Ddiabetic retinopathy
flchain                 Assay of serum free light chain for 7874
                        subjects.
gbsg (cancer)           Breast cancer data sets used in Royston and
                        Altman (2013)
genfan (reliability)    Reliability data sets
heart                   Stanford Heart Transplant data
ifluid (reliability)    Reliability data sets
imotor (reliability)    Reliability data sets
jasa (heart)            Stanford Heart Transplant data
jasa1 (heart)           Stanford Heart Transplant data
kidney (cancer)         Kidney catheter data
leukemia (cancer)       Acute Myelogenous Leukemia survival data
logan                   Data from the 1972-78 GSS data used by Logan
lung (cancer)           NCCTG Lung Cancer Data
mgus (cancer)           Monoclonal gammopathy data
mgus1 (cancer)          Monoclonal gammopathy data
mgus2 (cancer)          Monoclonal gammopathy data
myeloid (cancer)        Acute myeloid leukemia
myeloma (cancer)        Survival times of patients with multiple
                        myeloma
nafld1 (nafld)          Non-alcohol fatty liver disease
nafld2 (nafld)          Non-alcohol fatty liver disease
nafld3 (nafld)          Non-alcohol fatty liver disease
nwtco                   Data from the National Wilm's Tumor Study
ovarian (cancer)        Ovarian Cancer Survival Data
pbc                     Mayo Clinic Primary Biliary Cholangitis Data
pbcseq (pbc)            Mayo Clinic Primary Biliary Cirrhosis,
                        sequential data
rats (cancer)           Rat treatment data from Mantel et al
rats2 (cancer)          Rat data from Gail et al.
retinopathy             Diabetic Retinopathy
rhDNase                 rhDNASE data set
rotterdam (cancer)      Breast cancer data set used in Royston and
                        Altman (2013)
solder                  Data from a soldering experiment
stanford2 (heart)       More Stanford Heart Transplant data
survexp.mn (survexp)    Census Data Sets for the Expected Survival and
                        Person Years Functions
survexp.us (survexp)    Census Data Sets for the Expected Survival and
                        Person Years Functions
survexp.usr (survexp)   Census Data Sets for the Expected Survival and
                        Person Years Functions
tobin                   Tobin's Tobit data
transplant              Liver transplant waiting list
turbine (reliability)   Reliability data sets
udca                    Data from a trial of usrodeoxycholic acid
udca1 (udca)            Data from a trial of usrodeoxycholic acid
udca2 (udca)            Data from a trial of usrodeoxycholic acid
uspop2 (survexp)        Projected US Population
valveSeat (reliability)
                        Reliability data sets
veteran (cancer)        Veterans' Administration Lung Cancer study

 

tidyr

Data sets in package ‘tidyr’:

billboard               Song rankings for Billboard top 100 in the year
                        2000
construction            Completed construction in the US in 2018
fish_encounters         Fish encounters
population              World Health Organization TB data
relig_income            Pew religion and income survey
smiths                  Some data about the Smith family
table1                  Example tabular representations
table2                  Example tabular representations
table3                  Example tabular representations
table4a                 Example tabular representations
table4b                 Example tabular representations
table5                  Example tabular representations
us_rent_income          US rent and income data
who                     World Health Organization TB data
world_bank_pop          Population data from the world bank