Browsing Tag

# R

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 last 4-6 days). That is, it allows querying past tweets (though a…

## Types of Cluster Analysis and Techniques using R

Index Table Definition Types Techniques to form cluster method Definition: It groups the similar data in same group. The goal of this procedure is that the objects in a group are similar to one another and are different from the objects in…

## 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…

## 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 forms backbone to any programming…

## 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)…

## 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…

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

pandas provide various facilities for easily combining together Series, DataFrame, and Panel objects with various kinds of set logic to merge data frames for the indexes and relational algebra functionality in the case of join / merge-type…

## Mapply function in R

mapply is a multivariate version of sapply. mapply function in R applies toFUN the first elements of each... the argument, the second elements, the third elements, and so on. Arguments are recycled if necessary. Vectorize returns a new…

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

R Grouping functions have 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 is appropriate for their situation or…

## Implementation Of Classification Algorithms

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