Package Data Sets

Usage

p_data(package = "datasets", static = FALSE)

Arguments

package
name of package (default is the base install datasets package).
static
logical. If TRUE a static text document is returned (e.g. data("datasets")).

Package Data Sets

Package Data Sets

Value

Returns the data sets of a package as a data.frame. (static = FALSE) or as a static text file (static = TRUE).

Description

Generate a script of all data sets contained in package.

Examples

p_data()
Data Description 1 AirPassengers Monthly Airline Passenger Numbers 1949-1960 2 BJsales Sales Data with Leading Indicator 3 BJsales.lead (BJsales) Sales Data with Leading Indicator 4 BOD Biochemical Oxygen Demand 5 CO2 Carbon Dioxide Uptake in Grass Plants 6 ChickWeight Weight versus age of chicks on different diets 7 DNase Elisa assay of DNase 8 EuStockMarkets Daily Closing Prices of Major European Stock Indices, 1991-1998 9 Formaldehyde Determination of Formaldehyde 10 HairEyeColor Hair and Eye Color of Statistics Students 11 Harman23.cor Harman Example 2.3 12 Harman74.cor Harman Example 7.4 13 Indometh Pharmacokinetics of Indomethacin 14 InsectSprays Effectiveness of Insect Sprays 15 JohnsonJohnson Quarterly Earnings per Johnson & Johnson Share 16 LakeHuron Level of Lake Huron 1875-1972 17 LifeCycleSavings Intercountry Life-Cycle Savings Data 18 Loblolly Growth of Loblolly pine trees 19 Nile Flow of the River Nile 20 Orange Growth of Orange Trees 21 OrchardSprays Potency of Orchard Sprays 22 PlantGrowth Results from an Experiment on Plant Growth 23 Puromycin Reaction Velocity of an Enzymatic Reaction 24 Seatbelts Road Casualties in Great Britain 1969-84 25 Theoph Pharmacokinetics of Theophylline 26 Titanic Survival of passengers on the Titanic 27 ToothGrowth The Effect of Vitamin C on Tooth Growth in Guinea Pigs 28 UCBAdmissions Student Admissions at UC Berkeley 29 UKDriverDeaths Road Casualties in Great Britain 1969-84 30 UKgas UK Quarterly Gas Consumption 31 USAccDeaths Accidental Deaths in the US 1973-1978 32 USArrests Violent Crime Rates by US State 33 USJudgeRatings Lawyers' Ratings of State Judges in the US Superior Court 34 USPersonalExpenditure Personal Expenditure Data 35 UScitiesD Distances Between European Cities and Between US Cities 36 VADeaths Death Rates in Virginia (1940) 37 WWWusage Internet Usage per Minute 38 WorldPhones The World's Telephones 39 ability.cov Ability and Intelligence Tests 40 airmiles Passenger Miles on Commercial US Airlines, 1937-1960 41 airquality New York Air Quality Measurements 42 anscombe Anscombe's Quartet of 'Identical' Simple Linear Regressions 43 attenu The Joyner-Boore Attenuation Data 44 attitude The Chatterjee-Price Attitude Data 45 austres Quarterly Time Series of the Number of Australian Residents 46 beaver1 (beavers) Body Temperature Series of Two Beavers 47 beaver2 (beavers) Body Temperature Series of Two Beavers 48 cars Speed and Stopping Distances of Cars 49 chickwts Chicken Weights by Feed Type 50 co2 Mauna Loa Atmospheric CO2 Concentration 51 crimtab Student's 3000 Criminals Data 52 discoveries Yearly Numbers of Important Discoveries 53 esoph Smoking, Alcohol and (O)esophageal Cancer 54 euro Conversion Rates of Euro Currencies 55 euro.cross (euro) Conversion Rates of Euro Currencies 56 eurodist Distances Between European Cities and Between US Cities 57 faithful Old Faithful Geyser Data 58 fdeaths (UKLungDeaths) Monthly Deaths from Lung Diseases in the UK 59 freeny Freeny's Revenue Data 60 freeny.x (freeny) Freeny's Revenue Data 61 freeny.y (freeny) Freeny's Revenue Data 62 infert Infertility after Spontaneous and Induced Abortion 63 iris Edgar Anderson's Iris Data 64 iris3 Edgar Anderson's Iris Data 65 islands Areas of the World's Major Landmasses 66 ldeaths (UKLungDeaths) Monthly Deaths from Lung Diseases in the UK 67 lh Luteinizing Hormone in Blood Samples 68 longley Longley's Economic Regression Data 69 lynx Annual Canadian Lynx trappings 1821-1934 70 mdeaths (UKLungDeaths) Monthly Deaths from Lung Diseases in the UK 71 morley Michelson Speed of Light Data 72 mtcars Motor Trend Car Road Tests 73 nhtemp Average Yearly Temperatures in New Haven 74 nottem Average Monthly Temperatures at Nottingham, 1920-1939 75 npk Classical N, P, K Factorial Experiment 76 occupationalStatus Occupational Status of Fathers and their Sons 77 precip Annual Precipitation in US Cities 78 presidents Quarterly Approval Ratings of US Presidents 79 pressure Vapor Pressure of Mercury as a Function of Temperature 80 quakes Locations of Earthquakes off Fiji 81 randu Random Numbers from Congruential Generator RANDU 82 rivers Lengths of Major North American Rivers 83 rock Measurements on Petroleum Rock Samples 84 sleep Student's Sleep Data 85 stack.loss (stackloss) Brownlee's Stack Loss Plant Data 86 stack.x (stackloss) Brownlee's Stack Loss Plant Data 87 stackloss Brownlee's Stack Loss Plant Data 88 state.abb (state) US State Facts and Figures 89 state.area (state) US State Facts and Figures 90 state.center (state) US State Facts and Figures 91 state.division (state) US State Facts and Figures 92 state.name (state) US State Facts and Figures 93 state.region (state) US State Facts and Figures 94 state.x77 (state) US State Facts and Figures 95 sunspot.month Monthly Sunspot Data, from 1749 to "Present" 96 sunspot.year Yearly Sunspot Data, 1700-1988 97 sunspots Monthly Sunspot Numbers, 1749-1983 98 swiss Swiss Fertility and Socioeconomic Indicators (1888) Data 99 treering Yearly Treering Data, -6000-1979 100 trees Girth, Height and Volume for Black Cherry Trees 101 uspop Populations Recorded by the US Census 102 volcano Topographic Information on Auckland's Maunga Whau Volcano 103 warpbreaks The Number of Breaks in Yarn during Weaving 104 women Average Heights and Weights for American Women
p_data(lattice)
Data Description 1 barley Yield data from a Minnesota barley trial 2 environmental Atmospheric environmental conditions in New York City 3 ethanol Engine exhaust fumes from burning ethanol 4 melanoma Melanoma skin cancer incidence 5 singer Heights of New York Choral Society singers
## <strong>Not run</strong>: p_data(static=TRUE)

See also

data