Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

carWeb

Access to the R Companion to Applied Regression Website


Description

This function will access the website for An R Companion to Applied Regression, or setup files or data.

Usage

carWeb(page = c("webpage", "errata", "taskviews"), script, data, setup)

Arguments

page

A character string indicating what page to open. The default "webpage" will open the main web page, "errata" displays the errata sheet for the book, "taskviews" fetches and displays a list of available task views from CRAN.

script

The quoted name of a chapter in An R Companion to Applied Regression, like "chap-1", "chap-2", up to "chap-10". All the R commands used in that chapter will be displayed in your browser, where you can save them as a text file.

data

The quoted name of a data file in An R Companion to Applied Regression, like "Duncan.txt" or "Prestige.txt". The file will be opened in your web browser. You do not need to specify the extension .txt

setup

If TRUE this command will download a number of files to your computer that are discussed in Fox and Weisberg (2019), beginning in Chapter 1.

Value

Either displays a web page or a PDF document or downloads files to your working directory.

Author(s)

Sanford Weisberg, based on the function UsingR in the UsingR package by John Verzani

References

Fox, J. and Weisberg, S. (2019) An R Companion to Applied Regression, Third Edition, Sage.

Examples

## Not run: 
carWeb()
carWeb(setup=TRUE)

## End(Not run)

car

Companion to Applied Regression

v3.0-10
GPL (>= 2)
Authors
John Fox [aut, cre], Sanford Weisberg [aut], Brad Price [aut], Daniel Adler [ctb], Douglas Bates [ctb], Gabriel Baud-Bovy [ctb], Ben Bolker [ctb], Steve Ellison [ctb], David Firth [ctb], Michael Friendly [ctb], Gregor Gorjanc [ctb], Spencer Graves [ctb], Richard Heiberger [ctb], Pavel Krivitsky [ctb], Rafael Laboissiere [ctb], Martin Maechler [ctb], Georges Monette [ctb], Duncan Murdoch [ctb], Henric Nilsson [ctb], Derek Ogle [ctb], Brian Ripley [ctb], William Venables [ctb], Steve Walker [ctb], David Winsemius [ctb], Achim Zeileis [ctb], R-Core [ctb]
Initial release
2020-09-23

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.