The R Student Companion

  • Price: $39.95 $35.96
  • Paperback: 368 pages
  • Published: September 2012
  • ISBN: 978-1-4398754-0-7
  • Publisher: Chapman and Hall/CRC

Sharing & Social Bookmarking:

Question about this product?

This student-oriented manual describes how to use R in college science and mathematics courses. The manual features fully developed exercises based around the main precalculus analysis skills needed in the standard college general education courses in science and math. The exercises illustrate a wide variety of applications and subjects. The author presents applications drawn from all sciences and social sciences and includes the most often used features of R on a reference card in the back of the book. In addition, each chapter provides a set of computational challenges: exercises in R calculations that are designed to be performed alone or in groups.

Table of Contents

Introduction: Getting Started with R

R Tutorial

Vectors

Graphs

Real-World Example

Final Remarks

Computational Challenges

References

R Scripts

Creating and Saving an R Script

Running an R Script

Finding Errors in an R Script

Sharpening Up Your Scripts with Comments

Real-World Example

Final Remarks

Computational Challenges

Reference

Functions

Creating New Functions in R

More about User-Defined R Functions

Real-World Example

Final Remarks

Computational Challenges

Afternotes (Short Remarks on Topics for Further Study)

References

Basic Graphs

Real-World Example

Graphs of One Variable

Graphs of Two Variables

Final Remarks

Computational Challenges

Afternotes

Data Input and Output

Data Frames in R

Final Remarks

Computational Challenges

Afternotes

Loops

Writing a "For-Loop"

Checking the Loop

OK, Mr. Fibonacci…So What?

Real-World Example

Final Remarks

Computational Challenges

References

Logic and Control

Logical Comparison Operators and Logical Vectors

Boolean Operations

Missing Data

More about Indexes

Conditional Statements

Real-World Example

Final Remarks

Computational Challenges

Afternotes

Reference

Quadratic Functions

Real-World Example

Final Remarks

Computational Challenges

References

Trigonometric Functions

Right Triangles

Trigonometric Functions

Right Triangles, Circles, and Radians

Properties of Trigonometric Functions

Polar Coordinates

Triangulation of Distances

Real-World Examples

Final Remarks

Computational Challenges

Afternotes

Exponential and Logarithmic Functions

Achieving Real Power

The Special Number e

The Number e in Applications

The Exponential Function

Exponential Growth

Logarithmic Functions

Logarithmic Scales

Real-World Examples

Final Remarks

Computational and Algebraic Challenges

References

Matrix Arithmetic

Another Way to Multiply Vectors

Matrix Multiplication

Matrix Addition and Subtraction

Reading a Data File into a Matrix

Real-World Example

Final Remarks

Computational Challenges

Afterwords

References

Systems of Linear Equations

Matrix Representation

Matrix Inverse

Inverse Matrices and System Solutions in R

Real-World Examples

Final Remarks

Computational Challenges

Afternotes

References

Advanced Graphs

Two-Dimensional Plots

Options for Styles of Symbols, Lines, Axes

Other Customizations

Multiple Panels

Three-Dimensional Plots

Color

Final Remarks

Computational Challenges

Reference

Probability and Simulation

Random Variables

Probability

Probability Distributions of Counts

Probability Distributions of Measurements

Real-World Example

Computational Challenges

Afternotes

References

Fitting Models to Data

Fitting a Quadratic Model

Multiple Predictor Variables

Nonlinear Statistical Models

Final Remarks

Computational Challenges

Afternotes

References

Conclusion—It Doesn’t Take a Rocket Scientist

Real Solar System Example

The Problem

The Concept

Changes in Velocities

Move the Earth

Getting Organized

Outline of R Script for Calculating the Trajectory of Earth

The R Script

Computational Challenges

Afternotes

Appendix A: Installing R

Appendix B: Getting Help

Appendix C: Common R Expressions

Index

Author/Editor Biography

Brian Dennis is a Professor of Statistics at the University of Idaho, Moscow.

Customers who bought The R Student Companion also bought:

  • Nonparametric Statistical Tests

    Nonparametric Statistical Tests

    A Computational Approach

  • An R Companion to Linear Statistical Models

    An R Companion to Linear Statistical Models

  • The R Primer

    The R Primer

  • Logistic Regression Models

    Logistic Regression Models

  • Probability and Statistics with R

    Probability and Statistics with R