# R-Programming Tutorial

# R-Programming for Business Students

## What is R?

R is a free and open-source statistical analysis tool. It is also a complete programming language. The programming can be very different from functional programming (javascript), as it is geared towards vectors, matrices, and data frames.

HOWEVER, all the functional programming elements exist. And as a **helpful transition** to more R-styled programming, I present this functional programming tutorial in R.

Keep in mind, however, that many things that require loops in a functional programming language, can be done in one line in R—since R has operators for vectors and matrices. Again, these tutorials are just what I call transition knowledge.

## Download R

## Functional Programming Tutorials

- Introduction to R Programming: RProgramming1
- Conditionals: RProgramming2
- Loops: RProgramming3
- Functions: RProgramming4

## R for Excel Users

- Importing Tables From Excel: RProgramming5
- Indexing Matrix Values, Rows, & Columns: RProgramming6
- Multiple Regressions: RProgramming7
- Neural Networks: RProgramming8
- Principal Components Analysis+Varimax: RProgramming9
- Word Clouds & Word Frequency Analysis: RProgramming10
- Hierarchical Clustering & Dendrograms & Cluster Word Clouds: RProgramming11
- Sentiment Analysis: RProgramming12
- Multiple Linear Regression (Social Media Example): RProgramming13
- Non-Linear Regressions: RProgramming14

## Various Lecture Notes

- Neural Networks in R, A: Excel Data Column Extraction
- Neural Networks in R, B: Import Into R, Trim Rows, Encode Easy Columns
- Neural Networks in R, C: Encoding the Hard Column, Determine What to Keep, Create the Combined Training Set
- Neural Networks in R, C version2: Advanced Version of Previous (use this if you’re comfortable with coding)