Tags » Ggplot2

Visualising Household Income and Expenses In The Philippines

A couple weeks ago, I was surprised to see that data from Philippines Statistics office was uploaded in kaggle. The data set contain some selected variables from the latest Family Income and Expenditure Survey (FIES) in the Philippines. 3,593 more words

Data Visualisation

Distance distribution of network

Introduction

One of the easiest but important network property is the mean of distances. The density of distances can easily calculate and plot with R. In this blog post I compare distance densities of three main type of networks: random, small-world, scale-free. 623 more words

Open Code

#R language# ggplot2画图

require(ggplot2)
data(diamonds)
set.seed(42)
small &lt;- diamonds <span style="color: rgb(255, 0, 0);" data-mce-style="color: #ff0000;"><strong>#small 应该是随机提取1000行#</strong></span>
head(small)

#我想看下总共多少行#

nrow(small)
[1] 1000

#我想看下总共多少行–方二#

dim(small)
[1] 1000 10   #1000行10列

26 more words
Ggplot2

Feels like a dry winter - but what does the data say?

A reminder that when idle queries pop into your head, the answer can often be found using R + online data. And a brief excursion into accessing the Weather Underground. 478 more words

Statistics

Exploring the Nutrient Content of Major Staple Foods

The Wikipedia page for grain staples has an interesting table that contains a lot of information, I would say that it’s too much data to interpret without a visualization.   2,022 more words

Simple bar-plots using ggplot2

The package ggplot2 is one of the most powerful resource for plot making available in R.
Although, it has with quite a learning curve, that could be intimidating, it is definitely worth the effort. 249 more words

Barplot

Sentiment Analysis On Tweets

We are going to make a step by step approach on how to carry out sentiment analysis on a twitter text data set. Just as I have mentioned in my prior post, the sentiment analysis will be done by Tidy data concepts. 1,381 more words

Data Visualisation