Using R.

How to Create a Correlation Matrix in R
23 October 2018 | by Chris Facer

A correlation matrix is a table of correlation coefficients for a set of variables used to determine if a relationship exists between the variables. The

Continue reading

How to Make an Area Chart in R
20 October 2018 | by Tim Ali

Area charts are the classic choice for visualizing variables over time. We'll show you how to use ggplot2 package to create a basic area chart in R.

Continue reading

How to Make a Pie Chart in R
12 October 2018 | by Tim Ali

Pie charts are the classic choice for showing proportions for mutually-exclusive categories. We'll show you how to use ggplot2 package to create a basic pie cha...

Continue reading

Building Online Interactive Simulators for Predictive Models in R
26 September 2018 | by Tim Bock

Learn how to create interactive simulators, where users can manipulate predictor variables and see how the predictions change.

Continue reading

3D Correspondence Analysis Plots in R Using Plotly
18 September 2018 | by Tim Bock

Plotly can be used to create interactive, 3D visualizations of correspondence analysis. You can publish these as online dashboards using Displayr.

Continue reading

Using R to Create Free Online Dashboards
12 September 2018 | by Tim Bock

It is now possible to create public dashboards, based on R code, for free. Displayr allows you to create and share interactive charts, maps, and more!

Continue reading

Example sorting matrices in R
How to Sort Data in R
09 September 2018 | by Tim Ali

Sorting data is important for you to do any kind of meaningful analysis. Find out how to sort data including vectors, data frames and matrices in R.

Continue reading

Installing R Packages From Github
Installing R Packages from GitHub
17 August 2018 | by Tim Bock

Interesting new R packages are often only available on GitHub. This post shows you how to install R packages from GitHub in R, RStudio, and Diplayr.

Continue reading

Example of a Sankey Diagram
How to Create Sankey Diagrams From Tables (Data Frames) Using R
17 August 2018 | by Tim Bock

In this post, I'll show you how to create a Sankey Diagram using R, when your data has been set up as a table. It's easier than you think.

Continue reading

Smoothing Splines with Plotly
How to add Trend Lines in R Using Plotly
23 July 2018 | by Carmen Chan

In this article, we demonstrate a number of ways to estimate trend lines in R, and to visualize it using the Plotly package.

Continue reading

How to Read an Excel file into R
20 July 2018 | by Carmen Chan

Import an Excel file into R using the flipAPI package: it builds on Hadley Wickham's readxl package with features to simplify data importing and formatting.

Continue reading

How to Aggregate Data in R
13 July 2018 | by Jake Hoare

You have a data set and you need to quickly organize it to perform your data analysis. In this post, I’ll show you how you can easily aggregate data in R.

Continue reading

How to read Stata DTA file into R
How to read Stata DTA files into R
10 July 2018 | by Carmen Chan

Large survey data sets are often provided in proprietary binary formats such DTA file (supported by Stata). Here, we show you how to read DTA files into R.

Continue reading

trump word cloud
How to Show Sentiment in Word Clouds using R
15 February 2018 | by Tim Bock

The Word Cloud above summarizes some data from tweets by President Trump. The green words are words that are significantly more likely to be used

Continue reading

Squeezing time
Easily Converting Strings to Times and Dates in R with flipTime
01 February 2018 | by Mathew McLean

Need to convert strings or characters to time and dates in R? I'll discuss some useful packages, the common pitfalls and give some tips on how working with date...

Continue reading

heated density plot
Using Heatmap Coloring on a Density Plot Using R to Visualize Distributions
29 November 2017 | by Tim Bock

You can use Displayr’s density plot maker to create your own density plot for free. Lots of different visualizations have been proposed for understanding distributions.

Continue reading

Using Displayr
How to Format Numbers, Dates, and Time Using D3 HTMLWidgets in R
27 November 2017 | by Jake Hoare

A cheat sheet on how to Format Numbers, Dates, and Time Using in D3 HTMLWidgets in R.

Continue reading

linear discriminant analysis example
Linear Discriminant Analysis in R: An Introduction
11 October 2017 | by Jake Hoare

How does Linear Discriminant Analysis (LDA) work and how do you use it in R? This post answers these questions and provides an introduction to LDA.

Continue reading

Chart templates using R
Create Chart Templates Using R Functions
14 September 2017 | by Tim Bock

A step by step guide on how to create chart templates using R functions. Chart templates allow you to standardize the look and feel of reports.

Continue reading

automate emails using R
Automatically Write and Email Reports with R, SendGrid, & Displayr
11 September 2017 | by Tim Ali

How to create a system to automatically write and email reports based on automatically computed analyses (yep, everything automated).

Continue reading

Great looking dashboard
Create and Update PowerPoint Reports using R
31 August 2017 | by Tim Bock

An introduction to three tools that make creating and updating PowerPoint reports using R much more efficient and less painful.

Continue reading

Picture of a sea of blu-ray discs
Analyzing Google Trends Data in R
24 August 2017 | by Jake Hoare

How to download Google Trends data in R. Google Trends search data can be manipulated and explored in more detail if you analyze it using R.

Continue reading

singular value decomposition
Singular Value Decomposition (SVD) Tutorial Using Examples in R
02 August 2017 | by Tim Bock

Singular value decomposition (SVD) is explained using examples in R. SVD is a workhorse for techniques that decompose data, such as correspondence analysis.

Continue reading

preview Show information about the snippet editorYou can click on each element in the preview to jump to the Snippet Editor. SEO title preview: Displayr | Automatically Fitting the Support Vector Machine Cost Parameter
Automatically Fitting the Support Vector Machine Cost Parameter
18 July 2017 | by Jake Hoare

I show how to automatically fit the Support Vector Machine cost parameter by automating the manual search for the optimal cost.

Continue reading

Partial Least Squares can be used find drivers of consumer preference
Using Partial Least Squares to Conduct Relative Importance Analysis in R
19 June 2017 | by Jake Hoare

Partial Least Squares in R is a great way to conduct relative importance analysis because it effectively compresses the data before regression.

Continue reading

copying-R-objects
How to Link Documents in Displayr
08 June 2017 | by Carmen Chan

Sometimes you may create an object that you want to use in another Displayr document. Instead of replicating the analysis, we can just copy the object.

Continue reading

correspondence analysis
Easily Add Images to a Correspondence Analysis Plot in R
17 May 2017 | by Tim Bock

You can take your correspondence analysis plots to the next level by including images. This post describes how to create this plot using R.

Continue reading

Scatterplots
Labeled Scatter Plots and Bubble Charts in R
26 April 2017 | by Tim Bock

Labeled scatter plots and bubble charts can be easily formatted using the rhtmlLabeledScatter R package.

Continue reading

Custom sankey diagrams
Creating Custom Sankey Diagrams Using R
29 March 2017 | by Tim Bock

This posts describes how to create custom Sankey diagrams in R. It explains the basics of Sankey diagrams and provides examples of different layouts.

Continue reading

Term document matrix
Text Analysis: Hooking up Your Term Document Matrix to Custom R Code
27 February 2017 | by Chris Facer

To feed information about text into a statistical algorithm, it must first be converted into a form amenable to doing calculations - a term document matrix.

Continue reading

Interactive visualization in R
How to Add an Interactive R Visualization to a Blog in Under 30 Seconds
21 February 2017 | by Tim Bock

Here are the seven steps to add an interactive R visualization to your blog post in under 30 seconds.

Continue reading

close-link