can you recommend a good manual for R that starts with a data set and gives
demonstrations on what can be done using R? I downloadedR Langauage
definition and An introduction to R but haven't found them overly useful.
I'd really like to be able to follow some tutorials using a dataset or many
datasets. The datasets I have available on R are
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 Indomethicin
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
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
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
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 Michaelson-Morley 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
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, 1749-1997
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 Girth, 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
Use 'data(package = .packages(all.available = TRUE))'
to list the data sets in all *available* packages.
Brett Stansfield
Environmental Scientist - Water Quality
Hawke's Bay Regional Council
102 Vautier Street
Private Bag 6006
Napier
Phone (06) 835-9200 extn 9334
Fax (06) 835-3601
On Wed, 2005-02-02 at 16:17 +1300, Brett Stansfield wrote:> can you recommend a good manual for R that starts with a data set and gives > demonstrations on what can be done using R? I downloadedR Langauage > definition and An introduction to R but haven't found them overly useful. > I'd really like to be able to follow some tutorials using a dataset or many > datasets. The datasets I have available on R areBrett, First, review the R Posting Guide at: http://www.r-project.org/posting-guide.html There are good pointers as to how to get help with R. The R Language Definition document is a reference, not a tutorial. You wouldn't read the OED to learn how to speak English right? If you have found the Intro To R document lacking in some fashion, there are other Contributed documents available at: http://cran.r-project.org/other-docs.html which is referenced in the Posting Guide. I would suggest starting with those. HTH, Marc Schwartz
try http://cran.r-project.org/other-docs.html jon On Wed, 2 Feb 2005 16:17:35 +1300, Brett Stansfield <brett at hbrc.govt.nz> wrote:> > can you recommend a good manual for R that starts with a data set and gives > demonstrations on what can be done using R? I downloadedR Langauage > definition and An introduction to R but haven't found them overly useful. > I'd really like to be able to follow some tutorials using a dataset or many > datasets. The datasets I have available on R are
Please use a sensible subject line. In short, you need help().
Most R functions have a section called "Examples" in the help file.
E.g.
help("plot") or even help("help"). Granted this will give
you only
snippets of a whole analysis but it is helpful nonetheless.
Since you have already identified the datasets you have, see the help
section of help("AirPassengers") for a more complete analysis.
Perhaps articles and books listed under "Contributed" and
"Publications"
under Documentations tab of www.R-project.org might help.
Regards, Adai
On Wed, 2005-02-02 at 16:17 +1300, Brett Stansfield
wrote:> can you recommend a good manual for R that starts with a data set and gives
> demonstrations on what can be done using R? I downloadedR Langauage
> definition and An introduction to R but haven't found them overly
useful.
> I'd really like to be able to follow some tutorials using a dataset or
many
> datasets. The datasets I have available on R are
>
> 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 Indomethicin
> 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
> 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
> 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
> 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 Michaelson-Morley 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
> 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, 1749-1997
> 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 Girth, 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
>
>
> Use 'data(package = .packages(all.available = TRUE))'
> to list the data sets in all *available* packages.
>
> Brett Stansfield
> Environmental Scientist - Water Quality
> Hawke's Bay Regional Council
> 102 Vautier Street
> Private Bag 6006
> Napier
> Phone (06) 835-9200 extn 9334
> Fax (06) 835-3601
>
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide!
http://www.R-project.org/posting-guide.html
>
Hello,
The MASS book (see bibtex below) is great. It covers all you need to
start with R and to become a wizaRd.
Romain
@Book{,
title = {Modern Applied Statistics with S},
author = {W. N. Venables and B. D. Ripley},
publisher = {Springer},
edition = {Fourth},
address = {New York},
year = {2002},
note = {ISBN 0-387-95457-0},
url = {http://www.stats.ox.ac.uk/pub/MASS4},
}
Le 02.02.2005 04:17, Brett Stansfield a ?crit :
>can you recommend a good manual for R that starts with a data set and gives
>demonstrations on what can be done using R? I downloadedR Langauage
>definition and An introduction to R but haven't found them overly
useful.
>I'd really like to be able to follow some tutorials using a dataset or
many
>datasets. The datasets I have available on R are
>
>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 Indomethicin
>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
>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
>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
>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 Michaelson-Morley 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
>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, 1749-1997
>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 Girth, 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
>
>
>Use 'data(package = .packages(all.available = TRUE))'
>to list the data sets in all *available* packages.
>
>Brett Stansfield
>Environmental Scientist - Water Quality
>Hawke's Bay Regional Council
>102 Vautier Street
>Private Bag 6006
>Napier
>Phone (06) 835-9200 extn 9334
>Fax (06) 835-3601
>
>______________________________________________
>R-help at stat.math.ethz.ch mailing list
>https://stat.ethz.ch/mailman/listinfo/r-help
>PLEASE do read the posting guide!
http://www.R-project.org/posting-guide.html
>
>
>
>
--
Romain FRANCOIS : francoisromain at free.fr
page web : http://addictedtor.free.fr/ (en construction)
06 18 39 14 69 / 01 46 80 65 60
_______________________________________________________
Etudiant en 3eme ann?e
Institut de Statistique de l'Universit? de Paris (ISUP)
Fili?re Industrie et Services
http://www.isup.cicrp.jussieu.fr/
Seemingly Similar Threads
- Include manually an intercept in lm without breaking it?
- model.frame strips class as promised, but fails to strip OBJECT in C
- lm: eval(parse(text=)) works on one side y/x but not on both?
- How to include an externally defined NULL value in lm
- lm() notation question