Displaying 20 results from an estimated 300 matches similar to: "Choropleths maps of the USA states (PR#9111)"
2013 Nov 15
1
ggplot2: orden de una variable en el eje x según el valor de otra variable.
Buenas noches,
A ver si alguien me puede echar una mano, porque estoy hecho un lió. El
caso es que tengo una matriz de datos con tres variables, por ejemplo:
S<-1:5
P1<- c(20, 18, 19, 15,16)
P2<- c(4, 2, 6, 1,3)
total<- data.frame(P1, P2, S)
Ordeno la matriz según los valores en la variable "P1"
total <- total[order(total[,1]),]
Hasta aquí todo perfecto. El caso es
2017 Sep 12
2
Creación de data frame
Buenos dias, tengo una consulta con la creación de un nuevo data frame. La
primer columna, que no forma parte del data frame, toma los valores de la
variable LETRA lo cual no me permite luego seguir haciendo procedimentos ya
q no ordena. Va ejemplo
Parto de un data frame (llamado resu), con las variables Letra, Suelo y
ha, quiero hacer uno nuevo que resuma las hectáreas (ha) por Letra.
2013 Aug 06
0
Agrupar los terminos de la leyenda
Estimada comunidad, hice un grafico con 3 paneles (asi creo que se dice,
no?) usando lattice y tengo 15 diferentes curvas distribuidas entre
estos 3 paneles, 5 curvas en cada uno de ellos.
Cuando agrego una leyenda automatica me aparecen las 15 curvas todas
juntas y mezcladas las que corresponden a diferentes paneles, ya que las
ordena de acuerdo a la condicion "groups=..." que uno
2013 Aug 07
0
Agrupar los terminos de la leyenda
Hola,
Aunque un poco más elaborado, el resultado me parece más limpio (adjunto
gráfico).
He utilizado gran parte del código de "pepecb".
Por otro lado (Neo) es recomendable que cuando incluyas una duda en la
lista des también referencia de su sesión (comando de R: sesionInfo). La
función que usas "xYplot()" es del paquete "Hmisc" y aunque está basada en
el paquete
2013 Aug 07
2
Agrupar los terminos de la leyenda
Hola Neo,
esto es lo mejor que me ha salido. A ver si por lo menos te ayuda.
Un saludo
colores<-c("black", "green", "red", "steelblue", "purple") #creamos el vector de 5 colores que usaremos para unificar luego la leyenda y el grafico
xyplot(V5 ~ dia | sol, groups=con, layout=c(1, 3), type= "l", pch=1,
2017 Sep 14
2
Creación de data frame
Hola Javier, gracias por tu respuesta, explico de nuevo.
Luego de varios calculos, llego a un dataframe con varias observaciones,
llamado resuu:
Letra Suelo result
1 a 2 23
2 b 2 15
3 c 2 36
4 a 3 20
5 b 3 2
6 c 3 36
7 a 2 32
8 b 2 25
9 c 3 32
...
La primer columna que no tiene cabecera o etiqueta, aparece en la consola
en color gris y es un identificador de las filas
Cuando quiero resumir,
2011 Aug 25
2
Choropleth in R
Hi all,
I would like to use R in order to generate a Heatmap/Choropleth overlaid on
the UK map. Can someone please help with finding the right package/code? Any
help is much appreciated.
Best, Reza
[[alternative HTML version deleted]]
2014 Sep 05
0
Wine release 1.7.26
The Wine development release 1.7.26 is now available.
What's new in this release (see below for details):
- Still more DirectWrite functions.
- Improvements to the common File Dialog.
- A number of C runtime improvements.
- Various bug fixes.
The source is available from the following locations:
http://prdownloads.sourceforge.net/wine/wine-1.7.26.tar.bz2
2007 Dec 10
1
cyclic dependency error
Dear all,
I am encountering a cyclic dependency error when running R CMD check on an R package I wrote (R version 2.6.1, Mac OS X 10.4), see the error message below.
Creating a new generic function for "print" in "clValid"
Creating a new generic function for "summary" in "clValid"
Creating a new generic function for "plot" in
2003 Dec 01
0
No subject
Edit the file called src/EDITME and put the result in a file called
Local/Makefile.
Then you may proceed ... and next time ... you post an error message you
may want to be specific ... not "or something like that" ...
On Mon, 21 May 2001, Mager Charles WB wrote:
> Again another email ALMOST off the point, but not quite. The first question,
> which is to do with samba, is - How
2012 Jun 28
2
R help, using R to build choropleth
Hi guys
i need some help to build choropleth.
Basically i am trying to colour regions on the map by population.
I possess the shape file of the country, and also the population data,
however, i am having trouble to create the plot, below is my code:
population=read.csv("nz2.csv")
population
names(population)
nz=readShapeSpatial((sprintf('nz-geodetic-marks',tmp_dir)))
2010 Mar 24
0
Getting choropleth map intervals correct
Hello all,
Working on mapping some probabilities using R to a geographic unit called a
TAZ. The below data will work but you will have to set your directory for
the shape file. Never did this before so hopefully this works. ResProbs is
just supposed to be a value between 0-1, sorry if that more complicated than
it needed to be.
TazFile <- "*directory*/TAZ.shp"
TazShape <-
2012 Jul 09
0
R, maps, choropleth, data keys
I have four files that map populations to appropriate keys: statepop.csv, countypop.csv, zip3.csv, and zip5.csv. I'm using the TIGER/Lines shape files: tl_2009_12_state, tl_2009_12_county tl_2009_12_zcta3, and tl_2009_12_zcta5. I have carefully followed a number of tutorials and can reproduce those, and can also produce scatter and bubble plots of my data (using long and lat coordinates to
2003 Sep 28
0
(fwd) package inst directory copied too early? (PR#4329)
This bug appears in the current Windows build; I don't know if it
applies generally.
Duncan Murdoch
On Fri, 26 Sep 2003 15:25:57 +1200 (NZST), Ray Brownrigg
<ray@mcs.vuw.ac.nz> wrote:
>If you INSTALL (Rcmd INSTALL) or cross-compile
>(make PKGDIR=/pkg RLIB=/library pkg-mypkg) the copying of the inst
>directory seems to happen very early in the process, *before anything is
2003 Sep 28
0
(fwd) package inst directory copied too early? (PR#4330)
This bug appears in the current Windows build; I don't know if it
applies generally.
Duncan Murdoch
On Fri, 26 Sep 2003 15:25:57 +1200 (NZST), Ray Brownrigg
<ray@mcs.vuw.ac.nz> wrote:
>If you INSTALL (Rcmd INSTALL) or cross-compile
>(make PKGDIR=/pkg RLIB=/library pkg-mypkg) the copying of the inst
>directory seems to happen very early in the process, *before anything is
1999 Nov 07
1
Bug list summary (automatic post)
=================================================
This is an automated summary of the status of the R-bugs
repository.
Note that this may be neither complete nor perfectly
correct at any given instance: Not all bugs are reported,
and some reported bugs may have been fixed, but the
repository not yet updated.
Some bug fixes are difficult to verify because they pertain
to specific hardware or
2002 May 17
0
Re: R-1.5.0 on NetBSD (PR#1566)
On Fri, 17 May 2002 Ray.Brownrigg@mcs.vuw.ac.nz wrote:
> Firstly I omitted the following information from my original message:
>
> R is now configured for i386--netbsdelf
>
> Source directory: .
> Installation directory: /usr/pkg
> C compiler: cc -mieee-fp -I/mnt/scratch/pkgsrc/math/R/work.i386/.buildlink/include -O2
2003 Aug 26
0
Re: R 1.7.x and inaccurate log1p() on OpenBSD 3.2 and NetBSD 1.6 (PR#3984)
Ray Brownrigg <ray@mcs.vuw.ac.nz> writes today about the log1p()
problems on NetBSD 1.6 and OpenBSD 3.2:
>> Indeed, but since I have acess to a NetBSD developer, this is an
>> opportunity to get it fixed for everyone.
That's a start, but the reality is that it isn't enough. There will
be many sites that don't upgrade O/S versions except at possibly very
long
2001 Nov 02
0
maps in R
> While I am not an expert in either R or S, I believe the maps library is
> somewhat broken with respect to projections.
Correct.
>
> Any ideas, comments and suggestions are greatly appreciated. Does anyone
> know who the author of this package is? I found it at
> ftp://ftp.mcs.vuw.ac.nz/pub/statistics/map/ and I am using R-1.3.1 on
> Linux 2.4.x-x.
>
The authors are
2003 Aug 25
0
Re: R 1.7.x and inaccurate log1p() on OpenBSD 3.2 and NetBSD 1.6 (PR#3982)
Ray Brownrigg <ray@mcs.vuw.ac.nz> writes today about the inaccurate
log1p() on NetBSD 1.6 and OpenBSD 3.2:
>> Well, the source which I have access to doesn't bear that out.
Interesting. Our NetBSD installation is pretty recent:
% uname -a
NetBSD netbsd.vm.math.utah.edu 1.6 NetBSD 1.6 (GENERIC) #0: Sun Sep 8
19:43:40 UTC 2002