similar to: Optimizar función

Displaying 20 results from an estimated 400 matches similar to: "Optimizar función"

2012 Jul 23
2
Samba 4 on Production
We're involved in a project that the requirements could be satisfied with both samba3 and 4. Anyway I am testing what can be done with Samba4 and after following the tutorial published in the official wiki, I was able to create my test domain, and join WinXP and Win7 machines to it without a problem. I still need to test the GPO functionality, and some other stuff, but before continuing with
2011 Aug 02
1
Using Function
Hi, I have some simple statistics to calculate for a large number of variables. I created a simple function to apply to variables. I would like the variable name to be placed automatically. I tried the following function but is not working. desc = function(x){ media = mean(x, na.rm=T) desvio = sd(x, na.rm=T) cv = desvio/media*100
2006 May 31
1
trouble with boot ()
Dear members, I am trying to use boot () to compute the distributions of a statistic of a data set. The statistic is defined in the following code: eds<-function(x) { r<-cor(x) paren<-1-abs(r)/2 denom<-sum(sum(paren)+0.5) desvio<-sd(x) media<-mean(x) a<-desvio/media
2011 Aug 20
4
I have a problem with R!!
Dear all i?m working with a program i?ve made in R (using functions that others created) to run my program i need a sample. if i generate the sample using for example, rnorm(n, mu, sigma) i have no problem but if i obtain a sample from a column in excel and i copy it, the program says that there is a mistake: it says "Error en `[.data.frame`(data, indices) : undefined columns
2013 Feb 04
10
duda con lmer. Añadir predictor a nivel de grupos
Hola a todos. Estoy utilizando la función lmer del paquete lme4 para ajustar un modelo mixto. Tengo varias variables en mi data.frame, unas son a nivel individual y otras a nivel de comarcas. Listo algunas. ingre_6 : Ingresos (nivel individual) iscs_a : un indicador sintético resumen de otras variables, calculado mediante componentes principales. sau_com : superficie agraria útil de cada una
2009 Nov 24
1
Pregunta sobre LM
Hola Buen día, estoy ajustando una regresión multiple, pero sucede que tengo un factor de expanción, digamos que deseo ajustar el modelo ingreso ~ edad + ocupacion mi problema es que cada observación tienen un factor de expanción, es decir cada variable no representa una observación sino más, que no es un número fijo para cada observación. por lo que a mí se me ocurrio usarlas como peso
2010 Mar 19
1
Sweave and " object of type 'closure' is not subsettable" error
Hello folks: I have a data frame which includes two numeric vectors: "Pa1" and "Ingr" (which represents income).  I run the following code on the R console: ingreso <- factor(ifelse(Ingr<=3000,"bajo","alto")) tapply(Pa1,ingreso,summary) boxplot(Pa1~ingreso) and it works fine.  However, when I "Sweave" through an rnw file containing that
2015 Jun 09
5
librerias para programar una interfaz grafica en R ?
Estimados, he estado mirando en la internet si es posible programar con R una interfaz grafica para pedir el ingreso de datos por ejemplo, pero invariablemente obtengo paginas que hablan de interfaces graficas (rkward, rstudio, r-commander, etc) para R o de las librerias para hacer graficos (ggpolt, lattice, etc) ... alguien me puede orientar donde buscar o si estas existen ? Saludos y
2011 Sep 26
3
survival analysis: interval censored data
hello: my data looks like: time1  time2   event  catagoria 2004    2006        1            C 2004    2005        0            C 2005    2010        1            E 2007    2009        1            C 2006    2007        0            E 2008    2010        0            C 2008    2010        1            E ... and the census interval is 1 year I have tried  this
2005 Jul 28
2
Win95 on a Samba3+LDAP domain on a Debian box
Hi folks, I have successfuly migrated a WinNT 4.0 Domain to a Debian server with Samba3+Ldap following the Samba-3 by Example guide from John H. Terpstra (an impressive good guide) and The Linux Samba-OpenLADP Howto from Jerome Tournier & Olivier Lemaire. The domain holds about 800 accounts. There are WinNT servers, WinXP and Win95 clients belonging to it. WinNT servers and WinXP clients
2013 Mar 06
3
almacenamiento en lista y funcion lapply
Estimados su ayuda, tengo un total de 20 matrices las cuales deseo colocarlas como componentes de la lista, es decir matrices<-list(matriz1,matriz2,matriz3,...,matriz20) existe alguna manera de hacer esto de manera automatica ya que puede que exista un mayor numero de matrices por ejemplo 100, donde el ingreso de una por una puede resultar un poco cansado. A su vez a las matrices ingresadas
2012 Oct 28
1
Tabular datos de Encuesta Continua de Hogares
Buenas, tengo la siguiente inquietud. Tengo un data frame con los microdatos de la ECH de mi pais. He realizado un cuadro sin problemas en excel pero me gustaria una rutina de R para poder generar la tabla. El data.frame se llama ECH2009. Cuenta con las siguientes variables para este caso: idhogar region estrato integranteshogar expansor ingpercapsvl Computador TvAbonado Internet 1 capital 1 2
2015 Apr 28
2
Maximizar Consola de R al inicio
Hola Miguel Angel: Primero que nada gracias por tu aporte. Los parámetros del MDI que tengo en el fichero Rconsole son: MDI = yes MDIsize = 0*0+0+0 En lo de llamar a R usando start /MAX Rgui.exe, lo cierto es que no se muy bien a que te refieres. EL campo Destino del Acceso directo que uso para abrir Excel es: "C:\Program Files\R\R-3.2.0\bin\x64\Rgui.exe" --internet2 y la
2019 Feb 07
6
Optimización identificación de casos similares
Buen día a todos, Agradezco su ayuda con lo siguiente: Tengo 100.000 registros con nombres de personas con su respectivo número de documento, quiero identificar casos que tengan un porcentaje de igualdad alto, no del 100% porque ya esos los tengo identificados, sino casos como por ejemplo: Nombre: Juan Pérez Documento: 123456789 Nombre: Juan Pérez Documento: 1234056789 Este caso sería una
2012 May 28
4
How to load a selection list into the method new of a controller?
Hi friends! I''m relatively new with Rails and I''m struggling for a long time with this problem (it should have a pattern solution but until now I didn''t find it): I have the following models: Institution, City, State and Country. class Country < ActiveRecord::Base has_many :states has_many :cities, :through => :states end # == Schema Information # Table
2015 Jun 10
2
librerias para programar una interfaz grafica en R ?
Muchas gracias a todos, estoy revisando las opciones que me dieron, Un abrazo, eric. On 10/06/15 02:29, miguel.angel.rodriguez.muinos en sergas.es wrote: > Hola Eric. > > Te recomiendo que le eches un ojo a gWidgets2: > http://cran.r-project.org/web/packages/gWidgets2/index.html > > Un Saludo. > > > El 09/06/2015 a las 22:07, eric escribió: >> Estimados, he
2011 Oct 13
2
boxplot
hello I want to make a boxplot with diferents rows and also include a column to sort into two groups to each of the other columns my  date set looks like this: 4        5        6        7        8        site 23    56        41      45    63         C 21    89        42      10   63        E 32    45        14      17    96        E 45    74        13      63    41        C    68    32   
2011 Sep 20
10
Fichero de parametrización
Hola,   No encuentro ningún enlace en el cual poder ver ejemplos de ficheros de texto destinados al paso de parámetros (para suplir la carencia de interfaz gráfica) y me vendría bien para perfeccionar mi estilo. Entiendo que la estructura debe facilitar la importación de esa info desde el programa en R, y a su vez facilitar la tarea al usuario final, que es quien indica el valor de los parámetros.
2008 Aug 20
3
Confidence Interval
Hi! With the following script, I'm trying to make a demonstration of a Confidence Interval, but I'm observing some differences on tails. # Teste de média entre uma amostra e uma população normal # Autor: Raphael de Freitas Saldanha # Agosto de 2008 n <- 200 # Sample size xbar <- 100 # Sample mean s <- 2 # Sample SD nc <- 0.95 # Confidence level (95%
2013 Jan 02
2
Read many cvs files
Hello R helpers, I would like to automate this code for many files of the same type. But I don´t know how to make it. In particular, i don´t know how to read many files each one as an r object with the name of the file. Then a for loop would be sufficient, right? Many thanks and a happy new year. Dominic datos <- read.table('global2001.csv',head=T,sep=';',stringsAsFactors=F)