## 50 R Language and R Studio Tips

Browsing Category

# R Programming

## Data Mining: Market Basket Analysis in R

Market Basket Analysis in R, From Sellers to Intelligent Sellers: Market Basket Analysis is a modelling technique based upon the theory that if you buy a certain group of items, you are more (or less) likely to buy another group of items.…

## Step by step implementation of Grammar of Graphics in R

In previous article we discussed about qplot() which is analogy of plot(). Here in this tutorial we will cover ggplot2(). Basic component of ggplot2: (more…)

## How to do cox(PH) regression modelling using R?

Definition: Cox regression (or proportional hazards regression) is a method for investigating (more…)

## Time series Forecasting using simple exponential smoothing method using R

Forecast meaning predicting future with the help of provided data material. Forecasting in R can be done with Simple exponential smoothing method and using forecast (more…)

## Mathematical Modelling Functions In R – Part 2

Ok, let's start, where I have left out Mathematical Modelling Functions In R – Part 1 (please read, in case you didn't read first), start right there. Polynomial functions: are functions in which x appears several times, each time raised to…

## Mathematical Modelling Functions-Part 1

You can do a lot of maths in R. Here we concentrate on the kinds of mathematics that find the most frequent application in scientific work and statistical modelling and we term them as Mathematical Modelling Functions: Functions Continuous…

## Chi-Squared Test – The Purpose, The Math, When and How to Implement

Before we build stats/machine learning models, it is a good practice to understand which predictors are significant and have an impact on the response variable. In this post we deal with a particular case when both your response and…

## R FUNCTIONS FOR REGRESSION ANALYSIS

R FUNCTIONS FOR REGRESSION ANALYSIS Here are some helpful R functions for regression analysis grouped by their goal. The name of the package is in parentheses. Linear model Anova: Anova Tables for Linear and Generalized Linear Models (car)…

## Sentiment Analysis on Twitter Data

Analyzing Twitter data Extract tweets and followers from the Twitter website with R and the twitteR package 1. With the tm package, clean text by removing punctuation, 2. numbers, hyperlinks and stop words, followed by stemming and stem…

## Feature selection in R (i.e. pick important variables) using Boruta Package

Variable selection or Feature selection in R is an important aspect of the model building which every analyst must learn. After all, it helps in building predictive models free from correlated variables, biases and unwanted noise. A lot of…