Displaying 20 results from an estimated 2000 matches similar to: "Sweave - landscape figure"
2012 Apr 01
3
How to use Latex code in R loop?
Hi,
I am newbie in Latex and R. I am working on one report in which i need to
read file and display content of file by formatting (adding color boxes and
colorful text for each record). For this i need to use latex code in R loop.
How can i use Latex code in R loop. Any example will help me a lot.
Thanks
--
View this message in context:
2004 Sep 29
2
lattice .ps graphic is rotated in LaTeX slides
I've generated a version of the classic dotplot of the barley data with
library(lattice)
data(barley)
trellis.device("postscript", color=TRUE, file="barley2x3.ps")
old.settings <- trellis.par.get()
trellis.par.set("background", list(col = "white"))
lset(list(superpose.symbol=list(pch=c(19, 1, 25, 2, 15, 22, 23),
2002 Jan 27
5
EPS->LaTeX problem
Greetings-
I have a strange problem displaying a graph from R (1.3.1, linux) in a
LaTeX document of documentclass seminar.
I'm using graphicx to include the file:
\usepackage{graphicx}
...
\resizebox{\textwidth}{\textheight}{\includegraphics{crime.eps}}
When I do this, the entire slide (including the page number) is rotated
180 degrees. Any ideas why this happens?
The graph was created
2002 Jan 27
1
SUMMARY: EPS->LaTeX problem
Earlier today I posted a problem importing an R graph into a LaTeX file of
seminar class: specifically, the graphic was showing up rotated 180
degrees, along with the rest of the page it was on.
In a real victory for open-source software, I got lots of responses with
three distinct approaches, each of which appears to solve the problem. Try
getting fast, correct help from Microsoft on a Sunday
2010 Mar 29
3
Page width figures in Latex
bRotheRs & sisteRs,
I am once again attempting to learn enough Latex voodoo to get something
done, and failing comically. The document "RJAuthorguide.pdf"
mentions that one can get page width figures through the use of the
"figure*" or "table* environments, but despite considerable searching
through the mail archives and reading Frank Harrell's discussion of
2002 Feb 28
3
R-plots with 'complex' axis-labelling
Hi there,
I want to create plots with some kind of 'complex' axis labelling of the form
$\dot{V}$ and integrate those plots into a LaTeX document. What is the best
way to go?
I've figured out, that the 'plotmath' commands are somewhat limited (at least
I wasn't able to get the $\dot{V}$ generated) and that plots with
'plotmath'-axes wouldn't export
2012 Apr 19
5
User defined panel functions in lattice
Hi
I have a problem with passing line and symbol parameters to user
defined panel functions
I had a look at the archives and created a panel function on what was
shown and on panel.loess.
I could not to get panel.locfit to work for what I intend it for.
There is another layer to work with before success as lp() is called
from locfit.
xx <-
structure(list(Farm = c("A",
2008 Mar 07
3
R-Logo in \LaTeX (Mag. Ferri Leberl)
Dear Mag. Ferri Leberl,
I'm using something like:
----------------------- tex.tex ---------------------------
\documentclass{article}
\usepackage{graphicx}
\usepackage{fancyvrb}
\newcommand{\Rlogo}{\protect\includegraphics[height=1.8ex,keepaspectratio]{Rlogo.pdf}}
\newcommand{\myinput}[1] {\begin{scriptsize}
\VerbatimInput[frame=single,label=#1]{#1}
\end{scriptsize}}
\title{The R logo,
2008 Mar 07
3
R-Logo in \LaTeX (Mag. Ferri Leberl)
Dear Mag. Ferri Leberl,
I'm using something like:
----------------------- tex.tex ---------------------------
\documentclass{article}
\usepackage{graphicx}
\usepackage{fancyvrb}
\newcommand{\Rlogo}{\protect\includegraphics[height=1.8ex,keepaspectratio]{Rlogo.pdf}}
\newcommand{\myinput}[1] {\begin{scriptsize}
\VerbatimInput[frame=single,label=#1]{#1}
\end{scriptsize}}
\title{The R logo,
2013 Apr 18
1
texi2pdf texinputs arguments
Dear All
I am trying to specify the output directory and the directory for the
log files (the same) for texi2dvi.
The default for my windows computer is C:\Users\...\Documents which I
do not want.
The help guide:
texinputs NULL or a character vector of paths to add to the LaTeX
and bibtex input search paths.
is a little cryptic for me this morning
I have tried
texi2dvi(file =
2007 Sep 13
6
help with unit indication when plotting
Dear all:
Is there any one could tell me how I can represent Micro-molar as an
unit of concentration when I plot with R(S-plus), I don't want write
'uM' from keyboard, I am thinking to write it like in word, in word,
people insert symbol for 'u' for uM. Am I clear? Thank you very much
for your consideration and help.
Lu
2012 Oct 10
6
Exporting summary plm results to latex
Dear all,
I am trying to export my fixed effect results to Latex. I am using the plm package with the summary function. However, it does not look like apsrtable, stargazer, or any other package can accompany using the plm package.
I am interested in a classic table with the coefficient in one row followed by the standard error in paranthesis in the next row and stars by the coefficient to show
2010 Oct 28
1
xyplot and panel.curve
Hi All
I have regression coefficients from an experiment and I want to plot them
in lattice using panel curve but I have run into error messages.
I want an 3 panel conditioned plot of 2 curves of Treatment 2 in each panel
conditioned by Treatment1, the example curve expression is x+value*x^2
A rough toy example to give an idea of what I want is:
Data:
data = expand.grid(Treatment1 =
2009 Aug 05
4
multiple lty on same panel in xyplot
I would like to use lattice graphics to plot multiple functions (or groups
or subpopulations) on the same plot region, using different line types "lty"
or colors "col" to distinguish the functions (or groups).
In traditional graphics, this seems straightforward: First plot all the data
using 'type="n"', and subsequently execute a series of "points"
2011 Jan 09
1
Rectangle height in lattice xyplot key
Dear All
I have a problem with the height of the boxes in the key in the following.
(The text is over 2 lines to accentuate the problem of no space
between the rectangles.)
Is there an easy way to put a space between the rectangles; size
controls the width but there appears to be nothing for the height?
xyplot(1~1,
key = list(corner = c(0.8,0.8),
2013 Feb 15
3
lattice 3x3 plot: force common y-limits accross rows and align x-axes
Good afternoon,
I would like to ask for help in controlling y-axis limits and labels in
lattice doplots. Unfortunately, the problem is somewhat convoluted,
please bear with the long explanation.
I would like to create a 3x3 lattice of dotplots, say subject ~ count.
The plot is conditioned on variables treatment and risk: subject ~ count
| treatment + risk. In the experiment, not all subjects
2013 May 21
1
Lattice, ggplot, and pointsize
Hi!
When inserting R plots into a document using odfWeave, I fought for a
while to get Lattice plots use the same text size as base plots. I
eventually discovered that specifying a point size via e.g.
svg(pointsize=10) has no effect on Lattice plots. One needs to adjust
the size manually via:
trellis.par.set(fontsize=list(text=10, points=8))
This is also developed for both Lattice and ggplot2 by
2009 Aug 19
3
Sweave output from print.summary.glm is too wide
Hi all
I am preparing a document using Sweave; a really useful tool. But I am having a problem.
Consider this toy example Sweave file:
\documentclass{article}
\begin{document}
<<echo=TRUE,results=verbatim>>=
options(width=40) # Set width to 40 characters
hide <- capture.output(example(glm)) # Create an example of the problem, but hide the output
summary(glm.D93) #
2013 Mar 12
2
Specifying point symbol fill colour in lattice xyplot keys
Dear all,
When defining explicit keys with xyplot, I have previously used the fill
parameter to set the background colour of point symbols. That's no
longer working for me, and I am wondering whether it's a bug or whether
I've misinterpreted the documentation and have been relying on a feature
wasn't intended. If the latter, can anyone suggest the correct way to do it?
2012 Apr 19
1
Fwd: User defined panel functions in lattice
Hi ilai
Thank you for your suggestions.
I do not know what happened yesterday I must have omitted a few
changes out in going from R to email
and apologies for the double posting - I had troubles sending it as
my ISP gave a message of not being connected for email but was for the web
I was trying to get panel.Locfit to work in a number of situations.
1. Conditioned by Farm (3 panels) with 2