the original and current basic r “console” command line interface…

23

Upload: sheena-moore

Post on 29-Dec-2015

224 views

Category:

Documents


1 download

TRANSCRIPT

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

1996-

2008-

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/

Revolution Analytics has moved onto the radar screen for predictive analytics

Enter Single CommandsView Text Output

Datasets, etc.

ConsoleConsoleShortcut to viewData()

Write Code/ Program-Input Data-Analyze-Graphics

ScriptingScripting

InstallPackages

CreateFunctions

Built-InFunctions

Programming Languages

A Few Lines of Code

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

Add-InsBuilt-InFunctions

CreateFunctions

Built-In Functions & Commands

Mathematical Formula

Data Management via the GUI

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

• ? to get more information• ?c

Combing Numbers, Text, Etc.

h <- c(77, 60, 90)

Let’s Try Some Basic Statistical Functions

mean(h)

max(h)

Let’s Try Some Graphical Functions

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

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