Google Developers Introduction to R Series

R is an open source software programming language that is widely used among data miners for data analysis. The popularity of R has grown exponentially in the last couple of years and, if you are new to the R language, Google Developers has created a series that will help you get started with R.  Each video is relatively short, ranging from 2 to 4 minutes. The entire series is split up into 4 sections. Videos have feature captions that can be translated into any language to make them easy to follow. These videos are a gateway to both the R language and the fundamentals of programming.

The programming concepts that appear in this series are listed below:

  • Variables are storage locations that contain information. This concept is introduced in video 1.2.
  • Control structures (also called control flow) are blocks of code that decide how a program will respond when given certain conditions and parameters. An example of a common control structure is “if-else” statements. They are introduced in video 2.3.
  • Data structure is a way of organizing data so that the program can use the data in an efficient way. An example of a data structure is a Variable. For larger sets of information R uses particular types of data structures which are unique only to the R language. There are vectors (1.3), Matrices (1.6), and data frames (2.1) all of these types of data structures are objects that can be stored and manipulated.
  •  Syntax is the set of rules and arrangements that can be correctly interpreted in that language. This concept is covered through the entire series.

The following is a synopsis of the beginner introduction to R videos from Google:

Section 1 Basics:

The initial install of R on your computer includes a tour around the R environment and practice entering commands. This section also has an overview of working with vectors; they are the heart of R. It also teaches you about other object structures of R such as data frames and matrices.

Section 2 and 3 Control and Data Structures:

This portion of the series deals with the process of creating data structures from your own data. It also teaches how to manipulate the data structures you have created by using control structures.

Section 4 Functions:

The final section of the R series uses the skills that you learned in sections 1-3 in order to create your own custom R functions.

Overall this series is a good way to get started with R if you are an absolute beginner.

Here the link to the Google’s Introduction to R series so you can get started:

https://www.youtube.com/watch?v=iffR3fWv4xw&list=PLyYlLs02rgBYRWBzYpoHz7m2SE8mEZ68w

More Resources:

20 free tutorials for R

http://blog.revolutionanalytics.com/2012/04/20-free-r-tutorials-and-one-reference-card.html

Free interactive tutorial on R

https://www.codeschool.com/courses/try-r

R syntax cheat sheet

http://www.stats.bris.ac.uk/R/doc/contrib/refcard.pdf

More information about programming concepts

http://howtoprogramwithjava.com/programming-101-the-5-basic-concepts-of-any-programming-language/

Getting started with Markdown

What is it? And who is it for?

Markdown is a markup language created by John Gruber. It was designed to be easy to create readable scripts that can be converted to HTML. The only thing you need is a simple text editor such as notepad for Windows or TextEdit for Mac. Text files are easy to use editors because they are simple and to the point thus eliminating most, if not all, distractions making the user a force for productivity. Plus, all text files can be read using any computer system without a glitch. Markdown is also perfect for writing a blog post without the hassle of learning HTML. People have also used Markdown for organizing their notes, creating to-do lists, creating presentations and much more.

Here are a few basic rules in order to get started:

Headings

# This is a First-level heading

## This is a Second-level heading

### This is a Third- level heading

#### This is a Fourth-level heading

##### This is a Fifth-level heading

###### This is a Sixth- level heading

In HTML:

<h1>This is a First-level heading</h1>
<h2>This is a Second-level heading</h2>
<h3>This is a Third-level heading </h3>
<h4>This is a Fourth-level heading</h4>
<h5> This is a Fifth-level heading</h5>
<h6>This is a Sixth-level heading</h6>

Paragraphs

A paragraph is one or more consecutive lines of the text separated by one or more blank lines. Normal paragraphs should not be indented with spaces or tabs.

O serpent heart, hid with a flowering face!

Did ever dragon keep so fair a cave?

Beautiful tyrant! fiend angelical!

In HTML:

<p> O serpent heart, hid with a flowering face!
    Did ever dragon keep so fair a cave?
    Beautiful tyrant! fiend angelical! </p>

Unordered List

Bullet List/unordered list can be created using *asterisk, +plus signs or -minus signs interchangeable as well.

(Note: Place three spaces from the *, + or -)

Ex:

*   Goat

+   Milk

–  Banana

*   Eggs

In HTML:

<ul> 
     <li> Goat   </li>
     <li> Milk   </li>
     <li> Banana </li>
     <li> Eggs   </li>

</ul>

Ordered list

(Note: Similar to the unordered list, items need to be at least three spaces from their respective numbers in order to be able to format correctly.)

1.   Eggs

2.   Ham

3.   Milk

In HTML:

<ol>
      <li> Eggs </li>
      <li> Ham  </li>
      <li> Milk </li>
</ol>

 Bold and Italics

*hello, world* italicized text

<i>hello, world</i>

**hello, world** boldface

 <b>hello, world</b>

Markdown Resources:

Here is an online converter and more syntax rules from the creator of Markdown

The Official website for Markdown: http://daringfireball.net/projects/markdown/dingus

More on the basics of Markdown:

http://lifehacker.com/5943320/what-is-markdown-and-why-is-it-better-for-my-to+do-lists-and-notes

http://en.wikipedia.org/wiki/Markdown

https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet

https://help.github.com/articles/github-flavored-markdown

http://net.tutsplus.com/tutorials/tools-and-tips/markdown-the-ins-and-outs/

Using Markdown with WordPress:

http://designshack.net/articles/html/mastering-markdown-30-resources-apps-and-tutorials-to-get-you-started/

Markdown Editors:

Here is a list of markdown converters. There are 75 of them listed here.

http://mashable.com/2013/06/24/markdown-tools/