Often-used R techniques
This page is meant to be a collection of often-used R techniques that I have encountered during this learning period.
Lots of R visualization can be found here — Jul 18, 2015 10:35:33 AM
Visualizing acyclic graph using Sankey diagram — Jul 18, 2015 9:52:11 AM
pivot table : flatten the key-value pair dataframe — Jan 12, 2015 8:59:43 PM
Converting numerical factor to numeric — Dec 30, 2014 9:16:51 AM
Display Decision Tree with a nice graphic — Dec 30, 2014 8:59:18 AM
Using CHAID decision tree in R — Dec 2, 2014 10:50:09 PM
Operation for each row of data frame in R — Aug 7, 2014 9:40:41 PM
Compare dates in R — Aug 7, 2014 9:36:08 PM
Convert factor to numeric in R — Jul 25, 2014 4:50:19 PM
Application -- extract name and meaning from HTML tag — Jul 17, 2014 8:53:14 AM
Regular Expression — Jul 17, 2014 8:45:03 AM
Use Thai language in R — Jul 16, 2014 4:10:39 AM
ggplot2 — Jul 1, 2014 11:02:44 PM
Convert list to dataframe in R — Jun 28, 2014 8:01:17 AM
Handle JSON file format — Jun 22, 2014 8:29:13 PM
ROC package in R — Jun 19, 2014 4:32:35 AM
Slot in R — Jun 18, 2014 11:51:56 PM
Remove all variables in R except loaded functions — Jun 18, 2014 11:49:34 PM
Error: cannot allocate vector of size 3.0 Gb — Jun 18, 2014 11:48:47 PM
Convert table to data frame in R — Jun 11, 2014 8:52:34 PM
Using strsplit and sapply with email — Jun 11, 2014 4:14:02 PM
Weight of Evidence (WoE) Transformation — May 19, 2014 8:29:08 PM
Independence test using Chi-square test — May 15, 2014 3:22:06 PM
Information theory in R — May 15, 2014 2:37:25 AM
Discretizing, binning continuous variables — May 14, 2014 6:40:39 AM
A better way to import data from .csv file — May 9, 2014 6:21:04 AM
?apply in R — Apr 22, 2014 4:16:43 PM
Calculate max/min (across columns) for every row in R — Apr 9, 2014 9:30:38 PM
Install RStudio sever on Ubuntu — Apr 6, 2014 7:52:07 AM
How to prevent a data frame degrading to a vector — Apr 2, 2014 8:26:44 AM
merge dataframes and still preserve the original order — Apr 2, 2014 8:19:07 AM
Insert a new column between two columns — Apr 2, 2014 8:12:55 AM
Dataframe and vector manipulation — Apr 1, 2014 1:44:58 AM
Data frame multiplication — Mar 31, 2014 9:05:50 PM
Writing data frames into multiple excel sheets — Mar 28, 2014 10:03:43 PM
evaluate R command using eval, parse and paste — Mar 27, 2014 6:53:29 PM
Using function aggregate() and ddply() — Mar 27, 2014 5:33:19 AM
Using dcast from package reshape2 — Mar 26, 2014 11:10:59 PM
Decision tree and automatic rule generation — Mar 3, 2014 3:41:28 AM
Upgrade R and RStudio — Jan 6, 2014 11:23:00 PM
How to extract a string of variable/object name from R object — Jul 8, 2013 7:34:29 AM
How to list functions, methods and objects in R — Jul 8, 2013 7:16:40 AM
R package for Lasso and Elastic net penalty — Jul 8, 2013 7:13:57 AM
How to make a new variable from string of character — Jul 8, 2013 7:07:18 AM
Example on data frame — Jul 1, 2013 9:12:58 PM
Example on class "factor" — Jun 30, 2013 10:49:48 PM
How to index elements in a list — Jun 30, 2013 8:06:58 PM
Collection of Basic R — Jun 29, 2013 7:02:02 PM
How to remove/drop columns in a data frame — Jun 29, 2013 6:50:32 PM
Extract or Change column names in data frame — Jun 28, 2013 7:23:37 AM
How to plot 2D image? — Jun 28, 2013 7:20:43 AM
How to remove some parts out of a vector of character? — Jun 28, 2013 7:19:13 AM
What's a good Editor for R — Jun 28, 2013 7:17:52 AM
Sort data frame — Jun 28, 2013 7:11:51 AM
Good book for R — Jun 28, 2013 7:09:46 AM