Displaying 1 result from an estimated 1 matches for "smallplotsize".
2008 Nov 22
1
declaring constants in an Sweave / LaTeX document
List,
I would like to set a variable to hold, say, the size of my plots in a
Sweave document. i.e. something like the following in my '.Rnw' file:
==============================================================================
smallPlotSize = 4
<<fig1, echo=false, results=hide, height=smallPlotSize, width=smallPlotSize,
fig=true>>=
dat <- read.table("
http://www.stanford.edu/~xing/statfinbook/_BookData/Chap05/q_us_gdp.txt",
skip=2, header=T)
GDP <- ts(data=dat$VALUE, start=c(1947,1), frequency=4)
acf(GDP...