Skip to Main Content
Graphing Data with R
book

Graphing Data with R

by John Jay Hilfiger
October 2015
Beginner to intermediate content levelBeginner to intermediate
250 pages
6h 26m
English
O'Reilly Media, Inc.
Content preview from Graphing Data with R

Appendix H. R Functions Introduced in This Book

Here is a list of functions used in this book, for quick  reference. It is far from a complete list of R functions. For further information about a given function, x, see the index, or type help(x) or ?x.

Data Input/Output

load()
Reload an R dataset previously created by using save().
open.ncdf()
Open an .ncdf file (ncdf package).
Quandl()
Read a Quandl dataset (Quandl package).
read.csv()
Read a file in .csv format and create a data frame.
read.fwf()
Read a fixed-width file.
read.spss()
Read an SPSS dataset (foreign package).
read.table()
Read a file in table format and create a data frame.
read.txt()
Read a file in .txt format and create a data frame.
read.xport()
Read an SAS XPORT file (foreign package).
readWorksheetFromFile()
Read an Excel spreadsheet (XLConnect package).
save()
Write an R object to the working directory or a specified file.
xmlToDataFrame()
Read an XML file (XML package).

Datasets

attach()
Select a particular dataset for the following analysis.
data()
Determine what datasets are available (with no argument) or load a dataset.
data.frame()
Combine two or more vectors to make a new data frame.
detach()
Deselect a dataset; that is, following commands no longer analyze that dataset.
edit()
Edit a dataset.
fix()
Edit a dataset.
head()
View selected lines of a dataset, from the top.
str()
Determine the structure of an object.
subset()
Create a subset of a specified data frame.
tail()
View selected lines of ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

A Course in Statistics with R

A Course in Statistics with R

Prabhanjan N. Tattar, Suresh Ramaiah, B. G. Manjunath

Publisher Resources

ISBN: 9781491922606Errata Page