search for: classint

Displaying 19 results from an estimated 19 matches for "classint".

2019 Jan 12
2
Error: corrupted double-linked list
...rary/tools/libs/tools.so 7f7738dfd000-7f7738dfe000 r--p 00014000 07:01 204 /usr/local/lib64/R/library/tools/libs/tools.so 7f7738dfe000-7f7738dff000 rw-p 00015000 07:01 204 /usr/local/lib64/R/library/tools/libs/tools.so 7f7738dff000-7f7738e00000 r-xp 00000000 07:01 107834 /usr/local/lib64/R/library/classInt/libs/classInt.so 7f7738e00000-7f7738fff000 ---p 00001000 07:01 107834 /usr/local/lib64/R/library/classInt/libs/classInt.so 7f7738fff000-7f7739000000 r--p 00000000 07:01 107834 /usr/local/lib64/R/library/classInt/libs/classInt.so 7f7739000000-7f7739001000 rw-p 00001000 07:01 107834 /usr/local/lib...
2019 Jan 14
0
Error: corrupted double-linked list
...7f7738dfd000-7f7738dfe000 r--p 00014000 07:01 204 > /usr/local/lib64/R/library/tools/libs/tools.so > 7f7738dfe000-7f7738dff000 rw-p 00015000 07:01 204 > /usr/local/lib64/R/library/tools/libs/tools.so > 7f7738dff000-7f7738e00000 r-xp 00000000 07:01 107834 > /usr/local/lib64/R/library/classInt/libs/classInt.so > 7f7738e00000-7f7738fff000 ---p 00001000 07:01 107834 > /usr/local/lib64/R/library/classInt/libs/classInt.so > 7f7738fff000-7f7739000000 r--p 00000000 07:01 107834 > /usr/local/lib64/R/library/classInt/libs/classInt.so > 7f7739000000-7f7739001000 rw-p 00001000 07:...
2013 May 11
1
(no subject)
Hello, I am attempting to use the "classInt" package in conjunction with "rworldmap" package in R to construct a chloropleth. I want to use the fixedBreaks argument to specify given breaks. My data look like this: > head(Maji) Country waterused CC 1 Afghanistan 36 AFG 2 Albani...
2012 Jun 27
4
Intervalos de variable de proporciones, para representar en mapa
...ESPAÑA 0,173778264 Dónde el 0.20 para Andalucía, indica que el 20% de extranjeros en esa Comunidad provienen de Rumania. La idea es hacer un mapa para cada una de las principales nacionalidades de procedencia. Mi duda surge en como particionar los datos, para eso estaba usando la librería classInt. library(classInt) breaks<- classIntervals(V1,n=3,style="jenks") breaks style: jenks one of 171 possible partitions of this variable into 3 classes [0.001187531,0.1215129] (0.1215129,0.2739454] (0.2739454,0.4427761] 9 8...
2013 Jun 06
1
Error invalid graphics state using text()
...w that it's probably not the shortest way to the finishing line, but I'm a starter and happy about every finish. ;) I'm really hoping for some helpful comments! library(maptools) library(fields) library(raster) library(rgdal) library(RColorBrewer) library(rgeos) library(pixmap) library(classInt) library(sp) NUTS2<-readShapePoly("xxx.shp") shareub2012 <- read.csv("xxx.csv", header=TRUE, sep = ";", dec = ",",stringsAsFactors=F) mergeshareub2012 <- merge(shareub2012, NUTS2, by.x = "Bundesland", by.y = "NAME" ) sortmergeshar...
2013 Jan 04
1
SpatialPolygon with the max value gets no color assigned in spplot function when using "at" parameter
Hi, I would like to do coloring of map regions based on the region values "weight". The approach I am taking is first to break regions into equal intervals, classIntervals(spdf$weight,4)$brks #4 intervals in this case and coloring all regions within the interval with the same color col = brewer.pal(4,"RdYlGn")) The max "weight" is as well the boundary of the interval The problem is that the last region is not included into the last interv...
2014 May 05
3
Mapa de quantiles con spplot
...Te contesto lo mismo que le contesté a otro compañero de la lista, espero ser más claro. Les comparto la carpeta con la capa y los datos que estoy usando. https://www.dropbox.com/s/umy0evt3qm1wr4d/dissolve.zip Esto es lo que estoy haciendo: library(rgdal) library(maptools) library(sp) library(classInt) library(RColorBrewer) zm <- readOGR(?.?, ?zmdis?) data <- read.csv(?part_pot.csv?, header=T, sep=?,?, dec=?.?) zm en data=data.frame(data) plotvar88 <- zm$part88 nclr <- 8 plotclr <- brewer.pal(nclr, ?Blues?) class <- classIntervals(plotvar88, nclr, style=?quantile?) colcode <...
2014 Jul 04
3
script de anomalias
Tengo una consulta, alguien tiene algun script en R para hacer graficos de anomalias estandarizadas (precipitacion, temperatura, etc) y que me permita pintar de rojo anomalias positivas y azules las negativas, ​Muchas gracias de antemano​ -- Luis Alfonso LOPEZ ALVAREZ MSc- Meteorologia - Ing. Sistemas PROFESIONAL ESPECIALIZADO (E) METEOROLOGO - IDEAM e-mail: llopez@ideam.gov.co
2010 May 14
2
help color coding map in R
...map("state", plot = FALSE, fill = TRUE) # Calculate the range of the map (with extra margins). xl <- extendrange(us.map$range[1:2]) yl <- extendrange(us.map$range[3:4]) library(maps) library(lattice) library(latticeExtra) library(RColorBrewer) # creates nice color schemes library(classInt) plotclr <- brewer.pal(nclr,"PuRd") class <- classIntervals(NatSTSummaryHigh.abi$STMean, nclr, style="fisher" ) colcode <- findColours(class, plotclr) # Plot a multi-panel map of all the states, and colour xyplot(y~x | NatSTSummaryHigh.abi$PrimaryDX, data = state.ce...
2006 Nov 07
2
wrong fill colors in polygon-map
Dear all, I would like to produce a map with information about the patenting activity in German districts, by coloring districts with different degrees of patenting activity in different colors. I work with the packages maptools, maps and spdep. The map data is read from an external .shp file (+ the corresponding .shx and .dbf files). Plotting a map with the IDs or the patenting indicator itself
2014 May 06
3
Mapa de quantiles con spplot
...: @oscarperpinan El día 6 de mayo de 2014, 9:21, "Olivier Nuñez" <onunez en unex.es> escribió: > El segundo argumento en spplot ha de definir el número/nombre del intervalo al que > pertenece el area a pintar. > Este código debería funcionar: > > zm$class88=findCols(classIntervals(zm$part88, nclr, style="quantile")) > zm$class93=findCols(classIntervals(zm$part93, nclr, style="quantile")) > > spplot(zm, c("class88","class93"), col.regions=plotclr, cuts=(nclr-1), > key.space="bottom") > > Un saludo. Oliv...
2011 Apr 19
2
cut & histogram
Dear Rxperts, Below is a small sample of values (cut short due to space considerations while posting).. I was wondering if it is possible to construct boundaries (or intervals) based on the distribution of points. Is it anything similar to boundary detection of distributions? x1 <-
2012 Aug 13
1
Fine Tuning Country Map
Dear All, Please see the short script at the end of the email, which I assembled looking for bits and pieces on the web. It essentially does what I need: it plots several countries as a color-coded map. I just would like to fine-tune a bit the final image, in particular (1) Select my own colors for "painting" the countries (i.e. associate manually a color to every level) (2) Be
2014 May 07
2
Mapa de quantiles con spplot
...izquierda del gráfico Saludos El 06/05/2014, a las 02:21, Olivier Nuñez <onunez en unex.es> escribió: > El segundo argumento en spplot ha de definir el número/nombre del intervalo al que > pertenece el area a pintar. > Este código debería funcionar: > > zm$class88=findCols(classIntervals(zm$part88, nclr, style="quantile")) > zm$class93=findCols(classIntervals(zm$part93, nclr, style="quantile")) > > spplot(zm, c("class88","class93"), col.regions=plotclr, cuts=(nclr-1), > key.space="bottom") > > Un saludo. Ol...
2007 Mar 26
1
Problem in loading all packages all at once
...r","cat","caTools","catspec","cba","cclust","CDNmoney","cfa","CGIwithR","changeLOS","chplot","chron","CircStats","circular","clac","class","classInt","classPP","clim.pact","climatol","clines","clue","cluster","clusterRepro","clustvarsel","cmprsk","cobs","CoCo","CoCoCg","CoCoCore","CoCoGraph","CoCo...
2012 Dec 12
3
create a color palette with custom ranges between colors
Hello everybody, I'm trying to create my own color palette on R, in order to interpolate some different temperature data on different maps (daily means, seasonal means,...). I would like to create a color palette which works for each map, so I need a color palette between -40 and +40?C. Sometimes my data for one map range from -10 to +20, sometimes from 10 to 30, etc... but always between
2014 May 03
2
Mapa de quantiles con spplot
...o con spplot(zm, c(?part88?, ?part93?), cuts=4, col.regions=brewer.pal(4, ?Set3?)) Lo pude hacer utilizando el base graphics de R, definiendo: > plotvar88 <- zm$part88 > nclr <- 8 > plotclr <- brewer.pal(nclr, "PuOr") > plotclr <- plotclr[nclr:1] > class <- classIntervals(plotvar88, nclr, style="quantile") > colcode <- findColours(class, plotclr) > plot(zm) > plot(zm, col=colcode, add=T) > legend(3377189,2249615, legend=names(attr(colcode, "table")), fill=attr(colcode, "palette"), cex=0.6, bty="n?) Después int...
2009 Dec 13
3
CRAN (and crantastic) updates this week
CRAN (and crantastic) updates this week New packages ------------ * Bergm (1.0) Alberto Caimo http://crantastic.org/packages/Bergm Functions implementing Bayesian estimation for exponential random graph models via exchange algorithm Updated packages ---------------- lmtest (0.9-26), logcondens (1.3.5), MTSKNN (0.0-4), pmml (1.2.21), r2lUniv (0.9.4), rattle (2.5.11), rgdal (0.6-23),
2009 Sep 27
3
CRAN (and crantastic) updates this week
CRAN (and crantastic) updates this week New packages ------------ * bdoc (1.0) Michael Anderson http://crantastic.org/packages/bdoc This package contains a function that will classify DNA barcodes as well as a few test and reference data sets. * bdsmatrix (1.0) Terry Therneau http://crantastic.org/packages/bdsmatrix This is a special case of sparse matrices, used by coxme and