Articles by ujjwalkarn

Introducing xda: R package for exploratory data analysis

June 17, 2016 | ujjwalkarn

This R package contains several tools to perform initial exploratory analysis on any input dataset. It includes custom functions for plotting the data as well as performing different kinds of analyses such as univariate, bivariate and multivariate investigation which is the first step of any predictive modeling pipeline. This package ...
[Read more...]

Curated list of R tutorials for Data Science

June 3, 2016 | ujjwalkarn

Here is topic wise list of R tutorials for Data Science, Time Series Analysis, Natural Language Processing and Machine Learning. This list also serves as a reference guide for several common data analysis tasks. The R Language Awesome-R Repository on GitHub R Reference Card: Cheatsheet R bloggers: blog aggregator R ... [Read more...]

Introduction to k-Means clustering in R

May 29, 2016 | ujjwalkarn

k-means clustering aims to partition n observations into k clusters in which each observation belongs to the cluster with the nearest mean, serving as a prototype of the cluster. I have provided below the R code to get started with k-means clustering in R. The dataset can be downloaded from ... [Read more...]

End to end Logistic Regression in R

May 29, 2016 | ujjwalkarn

Logistic regression, or logit regression is a regression model where the dependent variable is categorical. I have provided code below to perform end-to-end logistic regression in R including data preprocessing, training and evaluation. The dataset used can be downloaded from here. [Read more...]

Codes for common Data Frame operations in R

May 29, 2016 | ujjwalkarn

Listed below are codes for some data frame operations that are good to have at your fingertips: Create an empty data.frame Sort a dataframe by column(s) Merge/Join data frames (inner, outer, left, right) Drop data frame columns by name Remove rows with NAs in data.frame Quickly ... [Read more...]

Useful functions in R!

May 29, 2016 | ujjwalkarn

I have listed some useful functions below: with() The with( ) function applys an expression to a dataset. It is similar to DATA= in SAS. # with(data, expression) # example applying a t-test to a data frame mydata with(mydata, t.test(y ~ group)) Please look at other examples here and here. ... [Read more...]

Some useful R cheatsheets

May 29, 2016 | ujjwalkarn

Given below is a list of useful cheatsheets for R: Data Wrangling in R ggplot2 Cheatsheet Shiny Cheatsheet devtools Cheatsheet markdown Cheatsheet,  reference Data Exploration Cheatsheet   [Read more...]

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)