similar to: Corregir mismo ID para individuos diferentes en una serie temporal

Displaying 20 results from an estimated 400 matches similar to: "Corregir mismo ID para individuos diferentes en una serie temporal"

2016 Jan 26
2
Corregir mismo ID para individuos diferentes en una serie temporal
Hola, Antes de nada, muchas gracias por tu ayuda. El código se ha acercado bastante, pero no termina de funcionar porque considera cada captura de un individuo como años consecutivos aunque haya pasado más tiempo entre ellos. Por ejemplo el individuo 4 es capturado por primera vez el año 1 y por segunda vez el año 3, por lo que debería de ser renombrado ya que en este ejemplo en concreto
2016 Jan 26
2
Corregir mismo ID para individuos diferentes en una serie temporal
Hola, Please, mira si esta vez funciona: #---------------------------------------------- ID <- c(1, 2, 3, 4, 5, 6, 7, 1, 2, 3, 8, 9, 10, 11, 12, 1, 2, 3, 4, 5, 6, 1, 2, 6, 8, 12, 7, 15, 16, 17, 18, 19, 20, 1, 21, 22, 19 ) Year <- c (1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 4, 4, 4, 4, 4, 5, 5, 5, 5, 5, 5, 5, 5, 6, 6, 6) df <- data.frame (ID, Year) df ID <- c(1,
2012 Oct 23
6
Join data frame columns
Hi, I have a data frame with 100 variables (numeric and non numeric types), and I want to join them in only one column, like a vector, but i want to keep the non numeric variables like they are. I know that i can do something like this: Suppose that my data is in df variable new_df<-data.frame(c(df[,1],df[,2],df[,3],df[,4],...........) This works but i have 100 variables! Any way of doing
2018 Jun 01
4
Regroup and create new dataframe
Hello folks, I have a big project to work on and the dataset is classified so I am just going to use my own example so everyone can understand what I am targeting. Let's take Target as an example: We consider three brands of tape: Target brand, 3M and Avery. The original data frame has 4 columns: Year of Record, Product_Name(which contains three brands of tape), Sales, and Region. I want to
2015 Aug 19
2
Samba4 DC/AD documents created in redirected folders with bogus UID
My up-front apologies if this topic has been covered. This is my first time using this list and I don't know how to search for existing topics yet ... I installed Samba4 on Linux Slackware 64 version 14.1 about 6 months ago. I set up redirected folders for the Windows 7 Workstation users. All worked fine until recently. Now, when several of the users create documents and folders on their
2008 Feb 10
11
data frame question
Hello I have 2 data frames df1 and df2. I would like to create a new data frame new_df which will contain only the common rows based on the first 2 columns (chrN and start). The column score in the new data frame should be replaced with a column containing the average score (average_score) from df1 and df2. df1= data.frame(chrN= c(“chr1”, “chr1”, “chr1”, “chr1”, “chr2”, “chr2”, “chr2”),
2010 Mar 30
5
limpieza datos
Hola Me encuentro con un problema al manejar unos datos, estos son tomados de una base de datos que tiene algunos errores, importaciones de programas viejos, etc. Básicamente son dos tablas, la primer tabla identifica al individuo, esta tabla tiene valores mal ingresados. La segunda tabla tiene mediciones. Al buscar desde la tabla de mediciones a los individuos solo obtengo solo los
2012 Feb 04
5
Comparaciones múltiples en ANOVA anidadp
Dispongo de un experimento en el que cinco tratamientos ha sido aplicados a cinco grupos de voluntarios. En cada grupo había tres personas y a cada persona se le tomaron 3 medidas, En total dispongo de 45 medidas, pero evidentemente no son independientes entre sí. Si no tomo en cuenta que las medidas de la misma persona son más parecidas entre sí (bloques anidados) estaría incurriendo en
2015 Aug 19
6
Samba4 DC/AD documents created in redirected folders with bogus UID
I just noticed that my fresh install of Samba 4.2.3 has the same behaviour. I have a share (\\samba\it_share)) and some users when creating files have the UID as 3000000 and some have their correct UIDs. Share permissons are being controlled by Windows ACLs. On Wed, Aug 19, 2015 at 1:58 PM, Mark Foley <mfoley at novatec-inc.com> wrote: > More information, > > It appears I've
2010 Feb 26
2
Problem accessing sub-methods of functions stored in a vector
Hi folks, I am having trouble accessing sub-functions when the main function is stored in an array. For example, the following test code works fine: fcns = c(abs, sqrt) fcns[[1]](-2) fcns[[2]](2) However, when I try to access sub-functions declared within list() in a function, this only works directly. When I try to access these within an array only the first declared sub-function is run.
2011 Oct 10
2
tapply
Hola Estoy cometiendo un error con tapply (lógicamente acepto cualquier otra forma para mi problema). Prepare el siguiente código para copiar y pegar, donde describo los datos y mi problema, creo que es la forma más fácil de explicarme. # primero cargo los datos para explicar el problema individuo <- c(''a'', ''b'', ''c'',
2018 May 29
2
Scripting the next UID/GID number to use
Hello,     I'm developing a script to create a user and pass along all the necessary unix attributes required. I'm successful except when I go to increment msSFU30MaxUidNumber or msSFU30MaxGidNumber. I'm not sure how to use ldbedit to script this process. Any guidance would be great. Thanks. - James
2013 Jan 21
1
Percentiles with R for a big data.frame
Dear R users, I came up to a problem dealing with percentiles in R. >From my previous questions: I do have a big data.frame, with lots of columns and rows. The following command enables me to calculate means for all data frame. dat1$newID<-rep(1:(nrow(dat1)/12),each=12) #if nrow(dat1)/12 is integer dat2<-with(dat1,aggregate(cbind(dat1[,1:71]),by=list(newID),mean)) What I need is to
2015 Aug 20
3
Samba4 DC/AD documents created in redirected folders with bogus UID
On 20/08/15 15:24, Mark Foley wrote: > Guilherme Boing, on 19 Aug 2015 14:31 you wrote: > >> I just noticed that my fresh install of Samba 4.2.3 has the same behaviour. > Did you get a solution? > > Odd, but this topic doesn't seem to be getting much traction. I wonder what > people are using Samba4 for. Outside of hard-cord samba-junkies who love > spending hours
2017 Jan 16
2
Error al fusionar tablas
Buenas tardes, Estoy tratando de fusionar dos data.frames pero no obtengo lo deseado. Un data.frame (Df1)tiene 53.657 observaciones (y 8 variables) que pertenecen una a cada individuo de la muestra. El otro (Df2) tiene 63.987 observaciones (y 17 variables), de los 53.657 individuos previos porque algun individuo tiene varias observaciones. Ambos solo coinciden por la variable
2013 Jun 11
2
calculo de poder estadistico en glm
Estimado Matias, Reenvio a la lista. Es tarde aqui y hay que descansar. Quizas alguien en otra parte del mundo pueda darte una mano. En unas horas te envio mi opinion. Saludos, Jorge.- 2013/6/11 Matias Ledesma <> > Hola Jorge, > > Muchas gracias por las referencias, ya consegui el libro asi que me voy > aponer a leerlo aver si encuentro una solucion. > > La data
2013 Jun 12
3
calculo de poder estadistico en glm
Estimado Javier, Gracias por tus comentarios. Si, puede ser que me haya expresado en forma incorrecta. Mi idea fue tratar de ser lo mas conciso posible y limitarme al problema estadistico que tengo, por lo cual obvie mucha informacion. La data proviene de un monitoreo que se hace en el Mar Baltico anulamente hace mas de 20 años, debido a que la poblacion a decendido drasticamente en los
2011 Nov 01
1
Subsampling-oversampling from a data frame
If no one has a better solution, split it, take a sample of size X from both and put it back together. hgwelec wrote: > > Dear members, > > Consider the following data frame (first 4 rows shown) > > > age sex class > 15 m low > 20 f high > 15 f low > 10 m low > > in my original data set i have 1200 rows and a class distribution
2015 Feb 24
4
intercalar elementos de vectores
Buenas a todos. Relato el problema: - tengo un archivo de 316 columnas por 562000 filas (aprox.). - esas 316 columnas representan 158 sujetos, o sea dos columnas por cada individuo conteniendo información que debe ser condensada en una sola. Lo que necesito es ir tomando las dos columnas de cada individuo e intercalar los elementos de los vectores formando uno solo. Ejemplificando sería algo
2017 Jan 16
2
Error al fusionar tablas
Holabueno, aunque hay muchas posibilidades para fusionar ambas tablas, usando la tuya sería algo así:Df3<-merge(Df1,Df2,by="Reviewer.Username", all = TRUE) El Lunes 16 de enero de 2017 20:08, Jesús Para Fernández <j.para.fernandez en hotmail.com> escribió: Los data.frames para unirlos lo mejor es que tengan el mismo numero de columnas o variables. El dataframe2