R Programming

Programming with R language - tutorials about R. 

rss_feed Subscribe RSS
Plotting with R (Part I)

local_offer plot local_offer r-lang

visibility 21
thumb_up 0
access_time 3 months ago

For data analyst, it is critical to use charts to tell data stories clearly. R has numerous libraries to create charts and graphs. This article summarizes the high-level R plotting APIs (incl. graphical parameters) and provides examples about plotting Pie Chart, Bar ...

Plotting with R (Part II)

local_offer plot local_offer r-lang

visibility 19
thumb_up 0
access_time 3 months ago

In Plotting with R (Part I) , I summarized the functions that can be used in R plotting. In this part, we continue the journey to plot more rich and complex charts like Pie Chart, Bar Chart, BoxPlot, Histogram, Line and Scatterplot using those functions.  Pie chart can be drawn using ...

local_offer r-lang

visibility 17
thumb_up 0
access_time 3 months ago

This article provides a basic introduction about programming with R incl. atomic vector, variable, operations, branching, loops and functions.  info All examples can run RStudio or R Tools for Visual Studio on Windows.  About these two IDEs, refer to R Introduction . We always start ...

Statistics with R (Part II)

local_offer r-lang

visibility 17
thumb_up 0
access_time 3 months ago

In article Statistics with R (Part I) , we walked-through the basic statistics calculation using R and also regression models incl. linear regression, multiple regression, logistic regression and Poisson regression. In this part, we will continue to explore more complicated analysis including ...

local_offer r-lang

visibility 16
thumb_up 0
access_time 3 months ago

R provides rich APIs to interact with source data such as databases and files (CSV, XML, JSON, etc.) With SparklyR, R can also be used to interact with big data platforms like Hadoop. This articles shows examples about using R to load data from relational databases and text files.   The ...

local_offer r-lang

visibility 14
thumb_up 0
access_time 3 months ago

In many scenarios, we need to generate data directly in memory. This article provides examples about generating regular and random sequences with R. It also shows you how to reshape or restructure data.  In the preceding articles, we already used a quite a few functions to generate regular ...

local_offer r-lang

visibility 12
thumb_up 0
access_time 3 months ago

R is an implementation of the S programming language (Bell Labs). It was created by Ross Ihaka and Robert Gentleman at the University of Auckland, New Zealand. R is named partly after the first names of the first two R authors and partly as a play on the name of S. It is currently developed by the ...

local_offer r-lang

visibility 12
thumb_up 0
access_time 3 months ago

In this series, we've walked-through R programming basics and advanced data types . This article will focus on R packages and IDEs so that you can program efficiently with R. Let's recap these commonly mentioned R terminologies: Package : An extension of the R base system with code, data and ...

Statistics with R (Part I)

local_offer r-lang

visibility 11
thumb_up 0
access_time 3 months ago

Till now, we've gone through R programming basics, data types, packages and IDEs, data APIs to work with data sources and various plotting functions. Let's now dive into the most important part about statistics and modelling with R. After all, R was created for statistics.  warning  Due ...

local_offer r-lang

visibility 6
thumb_up 0
access_time 3 months ago

R implements a number of useful data types to support complex analytics and calculations. This articles focus on String, Vector, List, Matrix, Array, Factory and Data Frame. It also shows examples about expanding data frame, for example, add or drop columns for data frames, add rows for data ...