Displaying 20 results from an estimated 900 matches similar to: "map_data"
2017 Aug 09
0
map_data
Please keep the mailing list copied in replies. Yes, apparently the map_data function is in the ggplot2 package, not the maps package.
--
Sent from my phone. Please excuse my brevity.
On August 8, 2017 11:18:35 PM PDT, "??????????? ?????? ?????????" <Maksim.Poltoradnev at uralkali.com> wrote:
>Dear Jeff, I figured out what the problem was: the map-data function
>does not
2012 Mar 20
1
passing xlim to coord_map in ggplot2
I'm sure this is smack-head moment, but I haven't been able to find an
example of this on Nabble or SO, so thought I'd ask.
This works:
michigan <- map_data('county', 'michigan')
mich_points <- data.frame(x = rnorm(n = 200, median(michigan[,1]), 0.75), y
= rnorm(n = 200, median(michigan[,2]), 0.75))
ggplot() + geom_path(aes(long, lat, group = group), data =
2020 Jul 28
2
Superponer mapas en ggplot
Buenos días. Tengo dos mapas que hago con ggplot (abajo) y necesito
superponer el 2º al 1º. En el 1º se representa la variable PA, binomial (0,
1), en gris, y en el 2º la variable ExtTG7085, que es numérica y va de 0 a
200. La 2ª es un gradiente en rojo. Lo ideal sería que donde coinciden el
rojo de la 2ª se viera más oscuro, pero supongo que eso no es fácil. Podría
también ser en otro color, pero
2009 Mar 17
2
General help on sample size based on recurrent events
Hello,
I have a general help question that some of you might be able able to help.
I would like to design a study (a two group comparison) based on reduction on events(say hospital admissions). In a previous study hospital admission rate of 140 admissions per 72 patients (over a 4 month period) has been observed. That is rate is about 1.9. In order to see the admission rate reduction of 50% over
2007 Dec 31
3
Survival analysis with no events in one treatment group
I'm trying to fit a Cox proportional hazards model to some hospital
admission data. About 25% of the patients have had at least one
admission, and of these, 40% have had two admissions within the 12
month period of the study. Each patients has had one of 4
treatments, and one of the treatment groups has had no admissions for
the period. I used:
2018 Nov 14
2
Los puntos no tapen el mapa hecho ggplot
Buenos días. Hago mis mapas con el código que os copio abajo, pero me
gustaría que me dibujase las líneas del mapa después de poner los
puntos para que se vean. Puedo hacer los puntos más pequeños, pero
entonces quedan separados y yo quiero que rellenen el mapa.
Gracias, como siempre,
Manuel
print(ggplot(legend=FALSE)+geom_path(data=map_data('world'),
aes(x=long,
2008 Nov 06
2
Data manipulation question
Dear R-listers,
I am a relatively inexperienced R-user currently migrating from Stata. I
am deeply frustrated by this data manipulation question: I know how I
could do it in Stata, but I cannot make it work in R.
I have a data frame of hospitalization data where each row represents an
admission. I need to know when patients were first discharged, but the
problem is that patients were sometimes
2015 Oct 10
3
[PATCH] Extend Multiboot1 with support for ELF64 file format
This patch is just a (shameless) copy from bug #28 [1].
The original patch has been sitting there for a couple of years now,
and it was based on Syslinux v 4.05.
The patch I am posting here is just a re-base on v.6.03. Whichever
inadequate formatting (tabs, trailing spaces...), or any kind of
correction that was required for the original patch to be accepted, is
probably still required now.
2010 Feb 01
2
Hierarchical data sets: which software to use?
Dear R-helpers,
I’m writing for advice on whether I should use R or a different package or
language. I’ve looked through the R-help archives, some manuals, and some
other sites as well, and I haven’t done too well finding relevant info,
hence my question here.
I’m working with hierarchical data (in SPSS lingo). That is, for each case
(person) I read in three types of (medical) record:
1.
2012 Feb 01
3
Plotting bar graph over a geographical map
Hi,
I am looking for a way to plot bar on a map instead of the standard points.
I have been using ggplot2 and maps libraries.
The points are added with the function geom_point. I know that there is a
function
geom_bar but I can't figure out how to use it.
Thank you for your help,
Simon
### R-code
library(ggplot2)
library(maps)
measurements <-
2008 Jul 23
6
Using if, else statements
Hi all,
Again I have searched the net and so on, without finding an answer to this
surely simple problem. A short bit of code would be appreciated.
I have a object named `data' with the following column headings.
Date, maxitemp, minitemp, admissions, d.o.w.
Where d.o.w. is day of the week, written "Sun" "Mon" etc.
I just need to scale the Monday admissions by
2002 Aug 24
1
Virtual servers - multiple sambas
New to this list. Running samba 2.2.4 set up as a PDC. We've recently
added another department to our office network. Ideally, I don't want
either department to see each others shares - just to be aware of the
shares in their own workgroups. The documentation says that you can set up
virtual servers using the "netbios aliases" and the "%L" options in the
2004 May 25
1
Call Admission Control
Let's say you have a 256 Kbps Internet connection and you're using it for
voice calls. With mu-law (G.711), each call uses about 80 kbps, so you
really can't have more than 3 calls active at one time. Does Asterisk
support any kind of Call Admission Control where it would prevent you from
originating a call if it would exceed your Internet bandwidth? For example,
in this case, ideally,
2013 Feb 18
4
PROPOSAL: Remove SWAT in Samba 4.1
As most of you would have noticed, we have now had 3 CVE-nominated
security issues for SWAT in the past couple of years.
At the same time, while I know many of our users use SWAT, we just don't
have anybody to maintain it inside the Samba Team. Kai has made a
valiant effort to at least apply the XSS and CSRF guidelines when folks
make security reports, but by his own admission he isn't a
2016 Dec 16
2
Upgrading a package to which other packages are LinkingTo
On 16 December 2016 at 08:20, Duncan Murdoch wrote:
| Perhaps the solution is to recommend that packages which export their
| C-level entry points either guarantee them not to change or offer
| (require?) version checks by user code. So dplyr should start out by
| saying "I'm using Rcpp interface 0.12.8". If Rcpp has a new version
| with a compatible interface, it replies
2006 Jan 03
5
RDOC and dot on mac
All,
This is probably a bit more of a mac question, but here goes. (Admission: I
posted this to ruby-talk as well....)
I am trying to use rdoc -d to generate class diagrams on a mac running Tiger
(OS X 10.4) for a rails app. I managed to get dot installed, but now am
running into problems with dot looking for libraries that either do not
exist or are apparently in the wrong place. I probably made
2003 May 14
2
number of patients in a hospital on a given date
Dear R-users!
I am using R 1.7.0, under Windows XP.
Having some hospital discharge data (admission date and discharge date for
each patient), I want to get the number of patients in the hospital on a
given date.
My data look like (simple example):
> x <- data.frame(patid=c("pat1", "pat2"), adm.date = c("15.03.2002",
"16.03.2002"),
2003 Jul 03
1
Help files mismatches and R CMD check
I have a function t.test.cluster for which R CMD check results in a documentation warning because its argument names don't match those of t( ). Is there a way around this error besides renaming the function? Will this disqualify a package from admission to CRAN? How did t.test avoid this warning?
Thanks,
Frank
---
Frank E Harrell Jr Prof. of Biostatistics & Statistics
2005 Oct 15
2
how to import such data to R?
the data file has such structure:
1992 6245 49 . . 20 1
0 0 8.739536 0 . . .
. . . . . "alabama"
. 0 .
1993 7677 58 . . 15 1
0 0
2013 Nov 29
0
Formatting output of plotKML
Hello,
I previously submitted the below query to r-sig-geo, but have had no
response. Before I start bothering individual maintainers, I wonder
if anyone on this list has any experience with the package and (or!)
can diagnose my problems?
Thanks,
Calum
Hello,
I am having a little trouble with plotKML and I am not sure whether to
ascribe it to my incompetence (most likely), incomplete