 What is the Twitter Search API? The Twitter search API, one of three such APIs (search, streaming, “firehose“), allows access to a subset of popular or recent tweets (in the…

## Types of Cluster Analysis and Techniques using R

Index Table

• Definition
• Types
• Techniques to form cluster method

Definition:

1. It groups the similar data in same group.
2. The goal of this procedure is that the objects in a group are similar to one another and are different from the objects in other groups.
3. Greater the similarity within a group and greater difference between the groups, more distinct the clustering.
4. Cluster analysis provides a potential relationship and construct systematic structure in large number of varables and observations.

Main objectives of clustering are: (more…)

## Linear Regression Analysis using R

One of the most frequent used techniques in statistics is linear regression where we investigate the potential relationship between a variable of interest (often called the response variable but there are many other names in use) and a set of one of more variables (known as the independent variables or some other term). Unsurprisingly there are flexible facilities in (more…)

## Loops and Control Structures in R

In this section we learn about control structures loops used in R. Control structures in R contains conditionals, loop statements like any other programming languages. Loops are very important 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 package is in parentheses.   Linear model Anova: Anova…

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

Introduction Variable selection is an important aspect of model building which every analyst must learn. After all, it helps in building predictive models free from correlated variables, biases and unwanted…

## How to join (merge) data frames (inner, outer, left, right) in R

We will create two dataframe df1 and df2 to illustrate joins in R. df1 = data.frame(CustomerId = c(1:6), Product = c(rep("Toaster", 3), rep("Radio", 3))) df2 = data.frame(CustomerId = c(2, 4,…

## Mapply function in R

mapply is a multivariate version of sapply. mapply applies FUN to the first elements of each ... argument, the second elements, the third elements, and so on. Arguments are recycled…

## R Grouping functions: sapply vs. lapply vs. apply. vs. tapply vs. by vs. aggregate

R has many *apply functions which are ably described in the help files (e.g. ?apply). There are enough of them, though, that beginning users may have difficulty deciding which one…

## Implementation of classification algorithms in R using car evaluation data

This data is obtained from UCI Machine learning repository. The purpose of the analysis is to evaluate the safety standard of the cars based on certain parameters and classify them.…

• 1
• 2