Below are the solutions to these exercises on visualizations with googleVis. #################### # # # Exercise 1 # # # #################### library(googleVis) df=data.frame(name=c("James", "Curry", "Harden"), Pts=c(20,23,34), Rbs=c(13,7,9)) LineCD2 <- gvisLineChart(df, "name", c("Pts","Rbs"), options=list( series="[{color:’green’,targetAxisIndex: 0}, {color:’yellow’,targetAxisIndex:1}]", vAxes="[{title:’Pts’}, {title:’Rbs’}]" )) plot(LineCD2) #################### # # # Exercise 2 # # # #################### library(googleVis) df=data.frame(name=c("James", "Curry", "Harden"), Pts=c(20,23,34), […]

## Data Visualization with googleVis exercises part 3

Scatter & Bubble chart This is the third part of our data visualization series and at this part we will explore the features of two more of the charts that googleVis provides. Read the examples below to understand the logic of what we are going to do and then test yous skills with the exercise […]

## Data visualization with googleVis solutions part 3

Below are the solutions to these exercises on visualizations with googleVis. #################### # # # Exercise 1 # # # #################### library(googleVis) ScatterC <- gvisScatterChart(cars) #################### # # # Exercise 2 # # # #################### library(googleVis) ScatterC <- gvisScatterChart(cars) plot(ScatterC) #################### # # # Exercise 3 # # # #################### library(googleVis) ScatterC <- gvisScatterChart(cars, options=list( […]

## Bonus: Statistical graphics solutions

Below are the solutions to these exercises on Statistical graphics. #################### # # # Exercise 1 # # # #################### x <- rnorm(100) hist(x) #################### # # # Exercise 2 # # # #################### br <- c(0,5,10,16,17,18,20,25,60,80) #################### # # # Exercise 3 # # # #################### mid.point <- c(2.5,7.5,13,16.5,17.5,19,22.5,44.5,70.5) player.count <- c(39,57,69,31,42,75,160,327,114) point.acc <- […]

## Protected: Bonus: Statistical graphics exercises

There is no excerpt because this is a protected post.

## Data Visualization with googleVis exercises part 2

Area, Stepped & Combo charts In the second part of our series we are going to meet three more googleVis charts. More specifically these charts are Area Chart, Stepped Area Chart and Combo Chart. Read the examples below to understand the logic of what we are going to do and then test yous skills with […]

## Data visualizations with googleVis solutions part 2

Below are the solutions to these exercises on visualizations with googleVis. #################### # # # Exercise 1 # # # #################### library(googleVis) df=data.frame(name=c("James", "Curry", "Harden"), Pts=c(20,23,34), Rbs=c(13,7,9)) AreaC <- gvisAreaChart(df) #################### # # # Exercise 2 # # # #################### library(googleVis) df=data.frame(name=c("James", "Curry", "Harden"), Pts=c(20,23,34), Rbs=c(13,7,9)) AreaC <- gvisAreaChart(df) plot(AreaC) #################### # # # Exercise […]

## Data Visualization with googleVis exercises part 1

Line, Bar and Column Charts Hello everybody! This is the first part of an exciting data visualization series r exercises.com is going to provide you. Data visualization involves the creation and study of the visual representation of data. The increasing amounts of data created by Internet activity make the “data visualization” tool totally necessary for […]

## Data visualization with googleVis solutions part 1

Below are the solutions to these exercises on googleVis Visualizations. #################### # # # Exercise 1 # # # #################### install.packages("googleVis") library(googleVis) #################### # # # Exercise 2 # # # #################### library(googleVis) df=data.frame(name=c("James", "Curry", "Harden"), Pts=c(20,23,34), Rbs=c(13,7,9)) #################### # # # Exercise 3 # # # #################### library(googleVis) df=data.frame(name=c("James", "Curry", "Harden"), Pts=c(20,23,34), Rbs=c(13,7,9)) LineC […]

## Bonus: Descriptive statistics with R solutions

Below are the solutions to these exercises on Descriptive Statistics with R. #################### # # # Exercise 1 # # # #################### x <- rnorm(100) mean(x) #################### # # # Exercise 2 # # # #################### x <- rnorm(100) sd(x) #################### # # # Exercise 3 # # # #################### x <- rnorm(100) var(x) #################### […]