Data Visualization with R - GitHub Pages
Data Visualization with RRob Kabacoff2018-09-032ContentsWelcome7Prefa ce9How to use this book. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .9Prequisites. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .10Setup. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .101 Data Importing data. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Cleaning data. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .122 Introduction to A worked example.
# import data from a comma delimited file Salaries <- read_csv("salaries.csv") # import data from a tab delimited file Salaries <- read_tsv("salaries.txt") These function assume that the first line of data contains the variable names, values are separated by commas or tabs respectively, and that missing data are represented by blanks.
Download Data Visualization with R - GitHub Pages
Information
Domain:
Source:
Link to this page:
Please notify us if you found a problem with this document: