This is where R scripts will load

Slides:



Advertisements
Similar presentations
Introducing Foxit Reader 3.1 for Windows Make Foxit your default PDF reader TODAY.
Advertisements

ALEPH version Services / Task Manager South Dakota Library Network 1200 University, Unit 9672 Spearfish, SD © South Dakota Library.
ATM 315 Environmental Statistics Course Goto Follow the link and then choose the desktop application.
Streaming Twitter. Install pycurl library Use a lab computer From the course website Download the links from pycurl and twitter streamer Extract site-packages.zip,
Matlab tutorial course Exercises 2:. Exercises Copy the script ‘face_points.m’ from my webpage into your ‘scripts’ folder Create a new folder in your.
Intro to C++. Getting Started with Microsoft Visual Studios Open Microsoft Visual Studios 2010 Click on file Click on New Project Choose Visual C++ on.
MagicInfo Pro Scheduler Now that a template has been created from content imported into the Library, the user is ready to begin scheduling content to.
University of Sunderland CDM105 Session 6 Dreamweaver and Multimedia Fireworks MX 2004 Creating Menus and Button images.
I NTRODUCTION TO M ICROSOFT O FFICE W ORD A GENDA Interface- File Button v. Office Menu File Menu and the Office Button Toolbar Home Tab – Font,
Applying the IEEE Template to a Presentation
Topics Introduction Scene Graphs
Trinity College Dublin, The University of Dublin GE3M25: Computer Programming for Biologists Python Karsten Hokamp, PhD Genetics TCD, 03/11/2015.
Copy of the from the secure website - click on the AccoridaLife.zip link.
Class Lecture Notes Ms. Haut. Class Lecture Notes on Class Website Notes saved in 2 formats –PowerPoint Recommended.
1 Getting Started with C++ Part 1 Windows. 2 Objective You will be able to create, compile, and run a very simple C++ program on Windows, using Microsoft.
How to find your textbooks … ©Wellner Design, 2010.
Learn R Toolkit D Kelly O'DayInstall & SetupMod 1 - Setup: 1 Module 1 Installing & Setting Up R Do See & HearRead Learn PowerPoint must be in View Show.
Integrating Crystal Reports with SIGNZ (V3.59, July 2008) Integrating Crystal Reports with SIGNZ (V3.59, July 2008)
How to install JavaCV in Eclipse. Make sure to download and install all these before you proceed Eclipse for Java EE developers (current is Juno)
Text Basics It's important to know how to perform basic tasks with text when working in a word processing application. In this lesson, you'll learn the.
Building New Analytics with Project Alpha. 2 What is Project Alpha? Project Alpha is a code solution “template” that provides a jump start to developing.
Using a set-up file to read ASCII data into Stata
Block 1: Introduction to R
How to get started with RefWorks
R Brown-Bag Seminar 2.1 Topic: Introduction to R Presenter: Faith Musili ICRAF-Geoscience Lab.
Data Tools: R and RStudio
Installing Analysis Tool Pak
Lecture 2: Introduction to R
Intro to R for Humanists
Getting Started with R.
DATA MINING Python.
How to get started with RefWorks
The Linux Operating System
Installing and running the local check projects in Eclipse
Step 1: Download R and install R:
Introduction to R Studio
Installing R and R Studio
National Scientific Library at Tbilisi State University
Operating Microcomputer
Prepared by Kimberly Sayre and Jinbo Bi
ALEPH Version 22 Beginning Cataloging
Macrosystems EDDIE: Getting Started + Troubleshooting Tips
Lab 1 Introductions to R Sean Potter.
12 Product Configurator
How to Run a Java Program
Sending your APEX assignments through is as simple as 1, 2, 3
Crash course in R – short introduction
Code is on the Website Outline Comparison of Excel and R
Using WinQSB to solve Linear Programming Models
Installing Analysis Tool Pak
CSCI N207 Data Analysis Using Spreadsheet
Originally Presented Sept. 25 / 09.
Type your event details here
Macrosystems EDDIE: Getting Started + Troubleshooting Tips
Python 19 Mr. Husch.
Type your event details here
bitcurator-access-webtools Quick Start Guide
Amos Introduction In this tutorial, you will be briefly introduced to the student version of the SEM software known as Amos. You should download the current.
This is where R scripts will load
This is where R scripts will load
Running a Java Program using Blue Jay.
Macrosystems EDDIE: Getting Started + Troubleshooting Tips
Input and Output Python3 Beginner #3.
Python 19 Mr. Husch.
Macrosystems EDDIE: Getting Started + Troubleshooting Tips
Graphing Using Processing
Welcome To Microsoft Word 2016
Packages Maria Novosolov.
Web Pages Made Easy ? by Leo Skerry 11/25/2019.
Presentation transcript:

This is where R scripts will load This is where R scripts will load. Feel free to modify R scripts (you may wish to save older versions). List of all available data sets and variables. This is where you will see images and help info, etc. This is where you type commands (unless creating a script).

This is where you type commands (unless creating a script).

If you would like to learn R or statistics or data analysis via Swirl: http://swirlstats.com/students.html

After you have installed a package using > install.packages(“swirl”) You can load the package using the library command: > library(swirl) Use the following to install Swirl courses: > install_from_swirl("Course Name Here") The following will start swirl: > swirl() For a list of courses: http://swirlstats.com/scn/title.html https://github.com/swirldev/swirl_courses#swirl-courses

Some notes: 1.) Normally you only need to install a package once. e.g > install.packages(“TDAmapper”) 2.) If you want to use a package, you must load it e.g > library(“TDAmapper”) You only need to do this once per session. 3.) If you want to repeat a command, you can use the up-arrow on your keyboard to obtain previously typed commands in the console. 4.) When you start typing commands, R will show you some choices. You can click on the one you want.

This is where R scripts will load This is where R scripts will load. Feel free to modify R scripts (you may wish to save older versions). List of all available data sets and variables. This is where you will see images and help info, etc. This is where you type commands (unless creating a script).

If you click on a .r file, it will load in the upper left box of R-studio. You can also copy and past r scripts (.r files) into this box. You can download some data files from http://homepage.divms.uiowa.edu/~idarcy/COURSES/TDA/Data Some sample R scripts available at http://homepage.divms.uiowa.edu/~idarcy/COURSES/TDA/Rfiles Matrices_and_Data_Frames.R: commands from the Swirl course by this name. uploadDatatoRetc.R: commands for reading data into R. Also includes commands from the Swirl course: Manipulating data with dplyr - Getting and Cleaning Data. createArtificalDataSets.r: various ways to create artificial data. TDAmapper.r: Modify this script by changing parameters and applying TDA mapper to a variety of data sets

1.) Select the section you want to run and click run To run an R script: 1.) Select the section you want to run and click run 2.) Click on the line you want to run and click run. Continue clicking run to run the code line by line. Run blue highlighted portion Run line 8

You can find R packates at https://cran.r-project.org/ Packages

Additional packages can be found at other repositories such as http://bioconductor.org/

The TDAmapper package Can download source code useful info

https://CRAN.R-project.org/package=TDAmapper Click on README for info about package Click on pdf for description of all TDAmapper commands

Vignettes are also useful

README Do not install from GitHub unless you know what your are doing Examples are sometimes found in READMEs or Vignettes Install in Rstudio

Reference manual: The reference manual lists all commands contained in the package.

command name All reference manuals follow same format. Function inputs Description of inputs Description of output(s)

You can take a look at the code in Rstudio for any command just by typing the name of the command. Note: mapper1d() calls this function mapper1d allows you to view the code. Note no ()

Note the version on GitHub contains commenting

Possible Project: Improve R package TDAmapper Alternatively, use Python Mapper

Network visualization with R http://kateto.net/network-visualization