Displaying 3 results from an estimated 3 matches for "dataanalysis".
Did you mean:
data_analysis
2008 Oct 28
1
does qplot works with Sweave?
...into R from one the built-in packages:
We'll work with the diamonds data. This dataset is really large, it accounts for
over 50.000 records. We will demostrate how to create nice and colorful graphics
as well as creating some nice tabular tables with horizontal and vertical lines.
<<dataAnalysis.R,echo=F>>=
data(diamonds)
attach(diamonds)
dsmall <- diamonds[sample(nrow(diamonds),1000),]
@
\begin{figure}[h]
<<fig.R,echo=FALSE,fig=TRUE,width=6,height=7>>=
qplot(carat,price,data=dsmall,colour = color) #THIS CODE DOESN'T WORK
@
\end{figure}
Felipe D. Carrillo
Supe...
2008 Oct 11
6
Sweave-LaTEX question
Hi:
I am working on a publication and I have heard about LaTEX but I haven't actually tried to learn about it until today. I've found a few examples but I can't actually make them work properly. I have a couple of questions:
Does LATEX have to be installed on your computer? How does the xtable package and Sweave work together? How can I make the code below create a table as pdf file?
2009 Jan 12
3
merge table rows (\multirow)
...one row(weeks 27,28,29,30) and so on for the following weeks.
Below, I am creating a PDF using Sweave, MikTex,R-2.8.1 and windows XP to show an example.
\documentclass[11pt]{article}
\usepackage{longtable,verbatim}
\title{How to implement multirow with Sweave}
\begin{document}
\maketitle
<<dataAnalysis.R,echo=FALSE>>=
sampDat <- "Month, Week, Est.passage, Med.FL
July 27 665 34
July 28 2,232 35
July 29 9,241 35
July 30 28,464 35
Aug 31 41,049 35
Aug 32 82,216 35
Aug 33 230,411 35
Aug 34 358,541 35
Sept 35...