1022 search results for "LaTeX"

The optimal way to do sweave

October 16, 2009
By
The optimal way to do sweave

The optimal way to do sweave may be to have a master file in LaTeX, and a separate Rnw file contains all the computations, figures, and tables. That way, it is easy to compile the LaTeX as the writing goes on without the hassle of carrying out the comp...

Read more »

Welcome to Sigmafield

September 20, 2009
By

Edit: This post originally appeared on my Wordpress blog on September 20, 2009. I present it here in its original form. John Tukey's preface to Exploratory Data Analysis begins with a useful rule, "It is important to understand what you can...

Read more »

Welcome to Blogistic Reflections! (A blog created entirely in Emacs org-mode)

September 19, 2009
By
Welcome to Blogistic Reflections! (A blog created entirely in Emacs org-mode)

John Tukey’s preface to Exploratory Data Analysis begins with a useful rule, “It is important to understand what you can do before you learn to measure how well you seem to have done it.” When I decided I wanted to start a blog concentrating on statistics, R, and Emacs, I thought I had better learn

Read more »

brew: Creating Repetitive Reports

September 9, 2009
By
brew: Creating Repetitive Reports

United Nations report World Population Prospects: The 2008 Revision (highlights available here) provides data about the historical and forecasted population of the country. In exploring the future and past population trends it is relatively easy to subset the dataset by your selected variable. > file <- c("UNdata_Population.csv") > population <- read.csv(file) > names(population) <- c("code", "country", "year", +

Read more »

ggplot2 Version of Figures in “Lattice: Multivariate Data Visualization with R” (Final Part)

August 25, 2009
By
ggplot2 Version of Figures in “Lattice: Multivariate Data Visualization with R” (Final Part)

Over the past weeks I have tried to replicate the figures in Lattice: Multivariate Data Visualization with R using Hadley Wickham’s ggplot2. With the exception of a few graph types (e.g. ggplot2 doesn’t support 3d-graphs, and there were a few other cases), it was possible to create ggplot2 versions of almost all the figures. Sometimes this

Read more »

Beta Verson of tikzDevice Released!

July 28, 2009
By

The tikzDevice package provides a new graphics device for R which enables direct output of graphics in a LaTeX-friendly way. The device output consists of files containing instructions for the TikZ graphics language and may be imported directly into LaTeX documents using the \input{} command. The beta version of tikzDevice is now available here. An

Read more »

Building R packages for Windows

July 13, 2009
By

1. Installing the required tools To build an R package in Windows, you will need to install some additional software tools. These are summarized at http://www.murdoch-sutherland.com/Rtools 1.1 Essential: Rtools This is a collection of unix-like tools...

Read more »

Building R packages for Windows

July 13, 2009
By
Building R packages for Windows

1. Installing the required tools To build an R package in Windows, you will need to install some additional software tools. These are summarized at http://www.murdoch-sutherland.com/Rtools 1.1 Essential: Rtools This is a collection of unix-like tools that can be run from the DOS command prompt. It also contains the MinGW compilers that are used for

Read more »

Set the significant digits for each column in a xtable for fancy Sweave output

June 26, 2009
By
Set the significant digits for each column in a xtable for fancy Sweave output

This tip may be useful in the situations when you need to set the number of digits to print for the different columns in a matrix/data.frame to be outputted as a LaTeX table.  For example: #install.packages("xtable") #library(xtable) tmp <- m...

Read more »

Creating Tag Cloud Using R and Flash / JavaScript (SWFObject)

June 10, 2009
By
Creating Tag Cloud Using R and Flash / JavaScript (SWFObject)

ag cloud is a bunch of words drawn in a graph with their sizes proportional to their frequency; it’s widely used in blogs to visualize tags. We can observe important words quickly from a tag cloud, as they often appear in large fontsize. Tony N. Brown asked how to “graphically represent frequency of words in

Read more »