Top Banner
23

The Original and Current Basic R “Console” command line interface….

Dec 29, 2015

Download

Documents

Sheena Moore
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: The Original and Current Basic R “Console” command line interface….
Page 2: The Original and Current Basic R “Console” command line interface….
Page 3: The Original and Current Basic R “Console” command line interface….
Page 4: The Original and Current Basic R “Console” command line interface….

The Original and Current Basic R “Console” command line interface….

Page 5: The Original and Current Basic R “Console” command line interface….
Page 6: The Original and Current Basic R “Console” command line interface….

1996-

2008-

Page 7: The Original and Current Basic R “Console” command line interface….

1993-62008

R-Commander (2005)

Data Mininghttp://www.rcommander.com/

R-Deducer (2011)

Graphic / ggplot2

Rattle (2004-6)

http://www.deducer.org/

Statistics - Graphshttp://rattle.togaware.com/

Page 8: The Original and Current Basic R “Console” command line interface….

Revolution Analytics has moved onto the radar screen for predictive analytics

Page 9: The Original and Current Basic R “Console” command line interface….

Enter Single CommandsView Text Output

Datasets, etc.

ConsoleConsoleShortcut to viewData()

Write Code/ Program-Input Data-Analyze-Graphics

ScriptingScripting

Page 10: The Original and Current Basic R “Console” command line interface….

InstallPackages

CreateFunctions

Built-InFunctions

Page 11: The Original and Current Basic R “Console” command line interface….

Programming Languages

A Few Lines of Code

Page 12: The Original and Current Basic R “Console” command line interface….
Page 13: The Original and Current Basic R “Console” command line interface….
Page 14: The Original and Current Basic R “Console” command line interface….

R Packages have been created that are equivalent to the base functionality of SAS and SPSS

Page 15: The Original and Current Basic R “Console” command line interface….
Page 16: The Original and Current Basic R “Console” command line interface….

Add-InsBuilt-InFunctions

CreateFunctions

Page 17: The Original and Current Basic R “Console” command line interface….
Page 18: The Original and Current Basic R “Console” command line interface….

Built-In Functions & Commands

Mathematical Formula

Data Management via the GUI

Page 19: The Original and Current Basic R “Console” command line interface….

• Use the c() function to combine values or text

• ? to get more information• ?c

Combing Numbers, Text, Etc.

h <- c(77, 60, 90)

Page 20: The Original and Current Basic R “Console” command line interface….

Let’s Try Some Basic Statistical Functions

mean(h)

max(h)

Page 21: The Original and Current Basic R “Console” command line interface….

Let’s Try Some Graphical Functions

#chartsplot(h)barplot(h)pie(h)

#data managementsort(h)h2 <- sort(h)barplot(h2)

Page 22: The Original and Current Basic R “Console” command line interface….
Page 23: The Original and Current Basic R “Console” command line interface….