Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying R Data Analysis Cookbook, Second Edition
  • Table Of Contents Toc
  • Feedback & Rating feedback
R Data Analysis Cookbook, Second Edition

R Data Analysis Cookbook, Second Edition - Second Edition

By : Kuntal Ganguly, Viswanathan, Viswa Viswanathan
3.3 (4)
close
close
R Data Analysis Cookbook, Second Edition

R Data Analysis Cookbook, Second Edition

3.3 (4)
By: Kuntal Ganguly, Viswanathan, Viswa Viswanathan

Overview of this book

Data analytics with R has emerged as a very important focus for organizations of all kinds. R enables even those with only an intuitive grasp of the underlying concepts, without a deep mathematical background, to unleash powerful and detailed examinations of their data. This book will show you how you can put your data analysis skills in R to practical use, with recipes catering to the basic as well as advanced data analysis tasks. Right from acquiring your data and preparing it for analysis to the more complex data analysis techniques, the book will show you how you can implement each technique in the best possible manner. You will also visualize your data using the popular R packages like ggplot2 and gain hidden insights from it. Starting with implementing the basic data analysis concepts like handling your data to creating basic plots, you will master the more advanced data analysis techniques like performing cluster analysis, and generating effective analysis reports and visualizations. Throughout the book, you will get to know the common problems and obstacles you might encounter while implementing each of the data analysis techniques in R, with ways to overcoming them in the easiest possible way. By the end of this book, you will have all the knowledge you need to become an expert in data analysis with R, and put your skills to test in real-world scenarios.
Table of Contents (14 chapters)
close
close

Using the split-apply-combine strategy with plyr

A common analytical pattern is to split data into pieces, apply some function to each piece, and then combine the results back together. The plyr package provides simple functions to apply this pattern, while simplifying the specification of the object types through systematic naming of the functions.

The plyr function name has three parts, XYply, where X specifies what sort of input you're giving , Y specifies the sort of output you want and ply part is common to all function names. X and Y represent one of the following options:

  • a = array
  • d = data.frame
  • l = list
  • _ = no output; only valid for Y; for example, useful when you're operating
    on a list purely for the side effects, making a plot, or sending output to screen/file

ddply has its input and output as data frames, and ldply takes a
list as input and produces a data...

Visually different images
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
R Data Analysis Cookbook, Second Edition
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist download Download options font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon