PacktLib: Data Manipulation with R

Data Manipulation with R

Credits

About the Author

About the Reviewers

www.PacktPub.com

Preface

R Data Types and Basic Operations

Modes and classes of R objects

R object structure and mode conversion

Vector

Factor and its types

Missing values in R

Summary

Basic Data Manipulation

Acquiring data

Factor manipulation

Date processing

Character manipulation

Subscripting and subsetting

Summary

Data Manipulation Using plyr

The split-apply-combine strategy

Utilities of plyr

Comparing default R and plyr

Summary

Reshaping Datasets

The typical layout of a dataset

The new layout of a dataset

Reshaping the dataset from the typical layout

Reshaping the dataset with the reshape package

The reshape2 package

Summary

R and Databases

R and different databases

Relational databases in R

R and sqldf

Data manipulation using sqldf

Summary

Bibliography

Index