Blog Archives

Export a Table Created by R to a TeX File

April 17, 2011
By
Export a Table Created by R to a TeX File

Producing tables in LaTeX might be a difficult task as we can not just copy and paste a table in the editor; we have to write all the numbers and other codes. But with the help of xtable package of R it is possible to produce all the necessary codes for producing table in LaTeX and also possible to...

Read more »

Export a Table Created by R to a TeX File

April 17, 2011
By
Export a Table Created by R to a TeX File

I am using xtable package of R to produce all the necessary codes for producing table suitable for LaTeX, and also discussing how to export the codes to a tex file. Producing tables in LaTeX might be a difficult task as we can not just copy and paste a table in the editor; we have to write all the...

Read more »

Add an animated R plot to your LaTeX document

October 10, 2010
By
Add an animated R plot to your LaTeX document

My first introduction with LaTeX was not very pleasant. I got tired and frustrated by writing so many codes for producing a simple document; but a few days ago I could write a function for producing an animated plot in R and also could export it to my LaTeX document with all its animations intact (using animation package of...

Read more »

Add an animated R plot to your LaTeX document

October 10, 2010
By
Add an animated R plot to your LaTeX document

It is possible to animate a R plot and this plot can also be exported to a LaTeX document with all its animations intact. Adding this animated plot to a PowerPoint slide or save it as a flash movie file (that you can upload to YouTube) is also possible. In this article I will try to show how these...

Read more »

Three dimensional plots using rgl package

September 15, 2010
By
Three dimensional plots using rgl package

We all know that R can do amazing things including 3 dimensional plots. scatterplot3d is probably the most popular package for doing this. But a few days ago I got introduced with rgl package which can do 3 dimensional graphs with some added advantages like we can rotate the plot using mouse, zoom in or out using the mouse...

Read more »

Three dimensional plots using rgl package

September 15, 2010
By
Three dimensional plots using rgl package

We all know that R can do amazing things including 3 dimensional plots. scatterplot3d is probably the most popular package for doing this. But a few days ago I got introduced with rgl package which can do 3 dimensional graphs with some added advantages like we can rotate the plot using mouse, zoom in or out using the mouse...

Read more »

Some useful bar plots using R

September 14, 2010
By
Some useful bar plots using R

In this article I am trying to show how to produce bar plots using R. Many of my friends think SPSS is the most useful software for producing plots and they keep using it (some of them even use Excel!). My goal is to show that R can do every type of g...

Read more »

Some useful bar plots using R

September 14, 2010
By
Some useful bar plots using R

In this article I am trying to show how to produce bar plots using R. Many of my friends think SPSS is the most useful software for producing plots and they keep using it (some of them even use Excel!). My goal is to show that R can do every type of graphs that other commercial softwares can do....

Read more »