similar to: how to produce disease maps

Displaying 20 results from an estimated 400 matches similar to: "how to produce disease maps"

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 Sep 09
1
measurement unit
Dear R-list, Could anybody tell me where to find information about changing the measurement unit from inch to centimeters? I read the help from X11, I read R-intro and I did some searhing in the R archives, but I couldn't find the answer. For example, I would like to produce a plot of a certain width and height: X11(width=10, height=5) and I would like these to be centimeters, rather
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
2007 Oct 16
1
simulation
I am trying to write a function that will simulate observed counts X and Y as below, I want the function to be able give many replicates, can somebody advise? thanks Oarabile #alpha,n sdx and sdy are constant, and N is a vector of length n. unstructured<-function(n,N,alpha,sdx,sdy){ Vx<-rnorm(n,mean=0,sd=sdx) Vy<-rnorm(n,mean=0,sd=sdy) thetax<-exp(alpha+Vx) thetay<-exp(alpha+Vy)
2005 Sep 27
1
Producing empirical bayes estimates in disease mapping for lognormal model
I'm trying to produce empirical bayes estimates based on the lognormal model in disease mapping Is there a way this can be done in R? thanks Oarabile
2005 Dec 13
3
help with writing function
I'm trying to write a function that takes a vector of length n and then takes the first value of the vector i.e j=1 and forms a new vector of length n (i.e replicate the first value n times). This function will then calculate the absoulte difference of the original vector and the new vector and store the results omitting the difference between the value and itself. This function should
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
2006 May 10
1
kernel smoothing of disease rates at locations
I want to do kernel smoothing on the standardised mortality rates at specified location(x-y coordinates) and be able to produce contour map. I've tried to use the package called fields in R (function smooth.2d) but the problem is I get negative results after smoothing and I do not understand why? Your contributions will be highly appreciated or if there is any package that can do this I
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
2006 Jul 13
2
package GLLMGibbs
Tried to look for package GLLMGibbs-(package for fitting mixed models by Gibbs samppling contributed by Myles' and Clayton) in CRAN but not found it, Does anybody know if it is still available? thanks Oarabile
2007 Nov 06
2
Kolmogorov-Smirnoff test
I am trying to determine whether two samples are identical or not. I'm aware that somebody can use the Kolmogorov-Smirnoff test to compare empirical distributions, but since my samples have ties I'm not sure if I'm getting the right p-values for the comparison. Can the Kolmogorov-Smirnoff test be adjusted for the case when ties exists and are there any functions that already
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