Displaying 20 results from an estimated 1000 matches similar to: "measurement unit"
2004 Sep 28
3
S latex listings
Hello,
I would like to insert S code to my latex document. I was looking for a
listings package that supports S. In www.r-project.or in the
software/other section there is an item with a link to latex package
listings, but it seems that the link is broken. Does anybody know an
alternative to get the package?
Thanks in advance,
2005 Feb 25
1
how to produce disease maps
-------------- next part --------------
An embedded message was scrubbed...
From: Martin Maechler <maechler at stat.math.ethz.ch>
Subject: Re: producing maps
Date: Fri, 25 Feb 2005 00:18:59 +0100
Size: 2511
Url: https://stat.ethz.ch/pipermail/r-help/attachments/20050225/75bb1c86/producingmaps.mht
2003 Jun 30
4
french map
Hello,
I would like to know if (as the usa map with Splus), it is possible with
R to plot the french map and to add points (representing towns for
instance) on the figure in the appropriate (x,y) system.
Thank you.
Nathalie Peyrard
2004 May 18
7
Isotopic notation in plots
I really like to use R for all my graphs, and as I work with stable
isotopes I want to have a proper chemical notation in my plots
I have looked at ?plotmath, but didn't find the answer and also searched
the R website.
------------------------------------------------------------------------
--
plot(1:10,xlab=expression(^{14}*C)) # I want to have a superscript with
nothing in front, but it
2002 Oct 10
3
Sweave (PR#2142)
In the 'RWeaveLatexSetup' function in the 'tools' package in R 1.6.0 , the
code below does not work (pdflatex can't find 'Sweave.sty'):
if (stylepath)
styfile <- file.path(R.home(), "share", "texmf", "Sweave")
else styfile <- "Sweave"
In R 1.5.1, that was:
if(stylepath)
styfile <-
2002 Mar 04
2
Plotting a x axis from a vector with rownames
Hi all,
suppose there is a vector y with rownames:
> y
cond1 cond2 cond3 cond4
78.952 87.308 86.490 74.040
how can I easily plot this vector using the rownames? plot(y) gives me a
plot with a x-axis from 1 to 4 in 0.5 steps, also plot(rownames(y), y)
and plot(y ~ rownames(y) don't work. I know I can build a x-axis with
axis(1, ...), but in this case I need a character string like
2004 Jun 03
1
Problem with par("usr")
Hi,
I'm trying to use the "usr" argument but I see no effect of this option
on my plots. For example:
> par(usr=c(0,4,0,4))
> plot(1,1)
This plots one point fine, but the coordinates of the plotting region
are not those that I specified using par()...
I can check this with
> par("usr")
[1] 0.568 1.432 0.568 1.432
What can I change in order to have this
2006 May 12
1
inches to centimeters in Graph settings
Hi R users,
I made a few research on how to convert inches into centimeters for graphics
settings (especially width and height of the graphic device).
Apart from the function layout() wich can be settled in centimeters using
lcm(), I found that writing a function that convert centimeters into inches
(i.e. x/2.54) was probably the best answer.
Is there somewhere any parameter that could help
2003 Jul 22
3
curves with shaded areas?
Hi,
I want to make a plot with abline where the area below or above the
curve is shaded. I can't find any documentation on that. Can anybody
help me with that?
thanks, Juffi
2003 Mar 10
3
VIM Syntax Highlighting
Has anyone got vim to have syntax highlighting with R function codes? I
know there's something similar that works with emacs (ESS or something like
that), but I was wondering if anyone knew an equivalent that worked with vim.
Thank you,
--
[]'s
mentus at gmx.de
Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage!
2003 Jul 29
1
Sweave: pass scale parameter to includegraphics?
Hi all
I'm using Sweave and find it a treat. But one
question:
I use Sweave to create my pictures which are
automatically included into LaTeX. For example,
in the file test.Snw, I may have:
% LaTeX stuff
\begin{figure}
<<fig=true,width=5,height=5>>=
x1 <- seq(1,5, length=10)
x2 <- sin(x1)
plot(x1,x2)
@
\caption{Plot}
\end{figure}
% More LaTeX
This produces the LaTeX
2003 Oct 21
2
report generator a la epiinfo
Hi
I'd like to use R in epidemiology and disease surveillance.
In EpiInfo you can have a script (.pgm) which calls a predefined report
(.rpt), where a table is calculated and values picked from that table
and placed where the author of the report wants them, with text around
those values. (Please see example below.)
I've looked at manuals, faq, mail-search and google. The closest is an
2002 Sep 27
3
xtable()
Hi,
Does anyone know how to manually configure the number of digits printed
out from xtable()?
For example, I'm exporting a data frame through xtable() into a LaTeX
table, I only have two columns in the data frame so by default I only get
two decimal places. But I'd like at least 5 decimal places.
I had a look at ?xtable() but can't seem to find an example.
Cheers,
Kevin
2001 May 14
5
unique and precision of long integers
Hello.
I have a dataset with about 500,000 observations, most of which are
not unique. The first 10 observations look like
901000000000100000010100101011002
901101101110100000010100101011002
901000000000100000010100000001002
901000000000100000010101001011002
901000000000100000010101010011002
901000000000100000010100110101002
901000000000100000010100101011002
900000000000100000010010101011002
2002 Mar 03
2
Small Functions for Writing HTML Files
Hello All,
I wrote this small set of functions for writing HTML files on the fly so I
could do reports from R. Nothing fancy. I may expand on this and make it
more generic, but for now, it works and I'm happy with it.
Thought I would share them with everyone to get some feedback. Also, I'm
not sure if there is already something like this available.
The html-test.r file shows you
2002 May 16
5
Bib. reference on R
I know I've seen the answer to this question
but could not find it now:
What's the appropriate(s) general reference(s)
for the "R language and environment for statistical computing and
graphics" that should be included
in a scientific article?
Thanks
Agus
Dr. Agustin Lobo
Instituto de Ciencias de la Tierra (CSIC)
Lluis Sole Sabaris s/n
08028 Barcelona SPAIN
tel 34 93409 5410
2010 May 31
1
Suggested tidying up
Package grDevices has a function cm() to convert from inches to centimeters. Its definition is:
cm <- function(x) 2.54*x
As far as I can tell, the function is not used anywhere in the R sources (I grepped for "cm(", "cm)" and ", cm".) I did not check for all packages on CRAN, though.
May I propose to remove this apparently useless function from the sources?
[I
2003 Oct 22
4
adjacency matrix
Dear R experts,
I am new to the list and R software. I need to convert arcview file to Winbugs having R has middle package. Got from friends that it is possible following the steps:
1. Converting arcview shapefile to "cgm clear text file"
2. Downloading "convert.r" to into R
2.1 use source("convert.r")
2.2 convert("filename_cgm") without the
2007 May 26
3
Web application to feed icecast
Hello,
i guess this question appeared before, but I haven't found anything by
searhing the whole morning.
I know that some web radio stations use icecast2. They also have a web
application that makes it possible to request songs, add items to the
playlist of the source client and so on. Most of the web radios have
developed the web application by itself (i guess so).
I'm not able to
2007 Jan 09
5
a question of substitute
Hi all,
I want to write a wrapper for an analysis of variance and I face a curious
problem. Here are two different wrappers:
fun.1 <- function(formula) {
summary(aov(formula))
}
fun.2 <- function(formula) {
oneway.test(formula)
}
values <- c(15, 8, 17, 7, 26, 12, 8, 11, 16, 9, 16,
24, 20, 19, 9, 17, 11, 8, 15, 6, 14)
group <- rep(1:3, each=7)
# While the first