Learn R Programming

rfordummies (version 0.1.6)

ch01: Print examples of chapter 1 of 'R for Dummies'.

Description

To print a listing of all examples of a chapter, use ch1(). To run all the examples of ch1(), use example(ch1).

Usage

ch01()

ch1()

Arguments

See Also

toc

Other Chapters: ch02(), ch03(), ch04(), ch05(), ch06(), ch07(), ch08(), ch09(), ch10(), ch11(), ch12(), ch13(), ch14(), ch15(), ch16(), ch17(), ch18(), ch19(), ch20()

Examples

Run this code
# NOT RUN {
if (interactive()) {
# Chapter 1 - Introducing R: The Big Picture

# Recognizing the Benefits of Using R

## It comes as free, open-source code

### It runs anywhere

### It supports extensions

### It provides an engaged community

### It connects with other languages


# Looking At Some of the Unique Features of R

## Performing multiple calculations with vectors

x <- 1:5
x
x + 2
x + 6:10

## Processing more than just statistics

## Running code without a compiler




}
# }

Run the code above in your browser using DataLab