search for: municipality

Displaying 20 results from an estimated 83 matches for "municipality".

2019 May 02
3
Elegir más de un dato en data frame
Buenas tardes. Tengo un data frame con el que me descargo una serie de datos municipalizados. Después extraigo los que corresponden al municipio que me interesa: paro.municipal <- paro.municipal[paro.municipal$provincia == "28" & paro.municipal$municipio == «115», ]. Todo correcto. El problema viene cuando quiero elegir más de un municipio: paro.municipal <-
2010 Sep 09
1
Strange output daply with empty strata
Dear list, I get some strange results with daply from the plyr package. In the example below, the average age per municipality for employed en unemployed is calculated. If I do this using tapply (see code below) I get the following result: no yes A NA 36.94931 B 51.22505 34.24887 C 48.05759 51.00198 If I do this using daply: municipality no yes A 36.94931 48.05759...
2012 Nov 20
0
Multilevel analysis using nlme (lme) . Error using z-scores
...standarized coefficents ? Or maybe i messed up something to begin with? Here is what i do: library(nlme) # I am creating random data # df of 900 rows la <- data.frame(1:900) # municipality: the variable i want to base my multilevel analysis on la$municipality[1:300] <- "Warszawa" # name of municipality: "Warsaw" la$municipality[301:600] <- "Płock" # la$municipality[601:900] <-...
2007 Apr 08
11
Error message after upgraing the openssh 4.6P1
...dvsrv10 sshd[25394]: [ID 800047 auth.info] Accepted publickey for osteam from 10.0.93.31 port 35859 ssh2 Apr 8 03:03:53 dvsrv10 sshd[25396]: [ID 800047 auth.error] error: channel 0: chan_read_failed for istate 3 Thanks, Sithesvaran Thirumaran Unix Administrator Internet Operations Unit Dubai Municipality Mobile: +971-50-5494352 Email: esquire_sithesvaran at dm.gov.ae <mailto:esquire_sithesvaran at dm.gov.ae> Our Vision To create an excellent city that provides the essence of success and comfort of living. Disclaimer: This Electronic Mail and any files transmitted with it are confide...
2013 Mar 11
3
Optimization in R similar to MS Excel Solver
...d each of six centres. ..+ 1 column contains variables, represents number of firms. I want to calculate the minimum cost between cities and centres. Each city can belong only to one of the centres. A model example: costs: distance between municipalities and centres + plus number of firms in each municipality "Municipality" "Centre1" "Centre2" "Centre3" "Centre4" "Centre5" "Centre6" "Firms" "Muni1" 30 20 60 40 66 90 15 "Muni2&...
2011 Apr 14
0
Automatic splitting/combining nested categorical variable in glm
I have a categorical variable with a nested structure. For example, region: a country is split into parts, which in turn contain provinces, which contain municipalities: Part -> Province -> Municipality North Province A Municipality 1 Municipality 2 Municipality 3 ... Province B Municipality 1 ... ... West Province A ... Province B ... ... ... What I would like to do is to automatically split/combine regions in a...
2008 Sep 07
2
restructuring datset problem
Hi, I've got a question regarding the restructering of a data set. What I have are municipality zip-codes and the names of 5'000 built-up areas within municipalities. The following example shows, what I would like to do: Input (Zip-Codes and Names): # CODE NAME #1 3 aaa #2 3 aab #3 3 aac #4 4 bba #5 4 bbb #6 4 bb...
2012 Oct 10
2
mapa municipios Andalucía con R
Hola a todos. Estoy utilizando R , más concretamente los paquetes maptools y sp, para realizar mapas de España por comunidades y provincias y de Andalucía por provincias y municipios. El caso es que para el mapa de municipios en Andalucía, una vez leído el fichero shp con readShapePoly , si luego por ejemplo , quiero poner todos los polígonos de un color utilizando library(maps)
2007 Apr 03
0
Error messages after upgrading to OpenSSH_4.6p1
...blickey for user from xx.xx.xx.xx port 32809 ssh2 Apr 2 03:05:41 hostname sshd[7301]: [ID 800047 auth.error] error: channel 0: chan_read_failed for istate 3 Apr 2 03:05:41 hostname last message repeated 1 time Thanks, Sithesvaran Thirumaran Unix Administrator Internet Operations Unit Dubai Municipality Mobile: +971-50-5494352 Email: esquire_sithesvaran at dm.gov.ae <mailto:esquire_sithesvaran at dm.gov.ae> Our Vision To create an excellent city that provides the essence of success and comfort of living. Disclaimer: This Electronic Mail and any files transmitted with it are confide...
2017 May 26
5
Unir municipios
¿Existe alguna función en el paquete "sp" para crear un mapa de comarcas a partir de uno municipal? El "shp" de los municipios lo tengo… necesito crear el "shape" comarcal… Lógicamente tengo un data.frame con la variable "comarca"… Normalmente en google suelo encontrar estas cosas, pero en este caso estoy inusualmente muy perdido… Gracias de antemano.
2012 Mar 13
2
Manipulate strings reordering some elements
Hi R-Users, I want to manipulate some strings in the following way. I have the following vector with spanish municipalities: municipios<-c("Allande", "Aller", "Amieva", "Avil?s", "Belmonte de Miranda", "Dega?a", "Franco (El)", "Gij?n", "Goz?n", "Grado", "Grandas de Salime",
2006 Apr 13
1
Guidance on step() with large dataset (750K) solicited...
...$logrprice, cgt=factor(data$cgt), cag=factor(data$cag), gstann=factor(data$gstann), fhogann=factor(data$fhogann), gstfhog=factor(data$gstfhog), luc=factor(data$luc), municipality=factor(data$municipality), time=factor(data$time), distance=data$distance, logr=data$logr, loginc=data$loginc) ## Estimate a simple linear model (used repeatedly in the literature, ## fails the most simple of model specifi...
2015 Apr 29
2
cantidad de datos
Estimados dos consultas. -Debo de trabajar con 280,000.00 casos y 20 variables. Quisiera saber si el programa soporta sin ningún inconveniente análisis cluster y discriminantes, así como análisis uni variados y bi variados. -Cuando se grafica un dendograma como puedo hacer para que todas las líneas de los casos, partan desde el X, porque cuando se genera se visualiza bien desordenado (unas líneas
2015 Apr 29
2
cantidad de datos
Bueno mi máquina es: HP Windows 7 Procesador Core I5 de 2.5 GHz 4 GB de Ram (2.94 GB utilizables) Sistema operativo de 32 bits Versión de R, 3.2.0 Atte. Ricardo Alva Valiente Analista de Control Preventivo Unidad de Prevención Of. Recuperaciones ? CC Boulevard Chiclayo '(074) 232740 RPC 978194441 RPM *157793 ?riav en cajatrujillo.com.pe
2015 Apr 29
2
cantidad de datos
Buen aporte?excelente!! Atte. Ricardo Alva Valiente De: Jose Luis Cañadas Reche [mailto:canadasreche en gmail.com] Enviado el: miércoles, 29 de abril de 2015 12:51 PM Para: Alva Valiente, Ricardo (RIAV); 'javier.ruben.marcuzzi en gmail.com'; R-help-es en r-project.org Asunto: Re: [R-es] cantidad de datos Podrías hacer varios kmedias con diferente número de clusters y comprobar como
2016 Jan 28
4
help estadística!!!!!
Buenas tengo una consulta. Tengo un grupo de 15,000 clientes a los cuales debo de segmentar en base a variables que por sus características pueden ser agrupadas en 4 grupos. Lo primero que he realizado es segmentar las variables pero de cada grupo (xq necesito realizar un análisis sobre esto) mediante el análisis clúster y luego realizar una segmentación con todas las variables, también utilizando
2005 Jul 19
1
ROC curve with survival data
Hi everyone, I am doing 5 years mortality predictive index score with survival analysis using a Cox proportional hazard model where I have a continous predictive variable and a right censored response which is the mortality, and the individuals were followed a maximum of 7 years. I'd like to asses the discrimination ability of survival analysis Cox model by computing a ROC curve and area
2005 Dec 14
1
Need help for a statistical problem
...objects could be residential houses, commercial buildings, trucks, etc. How to get a good sample size and select a set of objects that is very representative. The second part of my question is to find a statistical model in R that detects objects that are most likely used as their owners told the municipality. For example, if a restaurant is suppose to have 5 tables, we want to know that it doesn't have more. The goal is to have a model that flags such restaurant for inspection. Cheers, Dan
2009 Oct 19
1
Combobox population by means of JQuery and Ajax.
This is the view municipalities.js.erb I have: <% list_opt = options_from_collection_for_select(@municipalities, :id, :name) %> <% puts list_opt %> #ok! list_opt contains the options $(''#municipality_id'').html(''<%= list_opt %>''); and this is the combobox in the view: ... Comune <select id="event_municipality_id" name="event[municipality_id]"></select> ... if instead of ''<%= list_opt %>'' I manually assign...
2015 Apr 29
2
cantidad de datos
El inconveniente con un K-medias, es que se tiene que se tiene que pre definir el número de segmentos, pero eso es algo con lo q no cuento. La solución de Javier me parece q sería la única opción. Atte. Ricardo Alva Valiente -----Mensaje original----- De: R-help-es [mailto:r-help-es-bounces en r-project.org] En nombre de javier.ruben.marcuzzi en gmail.com Enviado el: miércoles, 29 de abril de