similar to: read.table with spaces

Displaying 20 results from an estimated 2000 matches similar to: "read.table with spaces"

2012 Dec 14
2
una programación sencilla
Hola a todos, Escribo para preguntarles sobre cómo programar algo, que estoy segura es algo bastante sencillo para muchos de Uds que tienen amplia experiencia programando. Lo describo a continuación. Tengo una base de datos (file = datos) de especies (de plantas) en donde cada fila es un individuo de una especie con ciertos atributos (alrededor de 1500 filas = individuos). Quería anexar en esta
2014 Mar 10
4
Frecuencia absoluta acumulada por individuo y por año
Hola, Hola a todos, Os escribo porque no consigo finalizar el script necesario para realizar lo que a continuación planteo. Partiendo de un data frame (2 millones de casos), tengo: > datos2 ID FECHA YEAR CANTIDAD 1 100 2005-08-02 2005 1 2 100 2005-10-19 2005 2 3 100 2007-02-09 2007 1 4 100 2007-10-25 2007 1 5 100 2007-10-29 2007 1 6 120 2006-05-11
2014 Mar 12
3
Frecuencia absoluta acumulada por individuo y por año
Llego tarde al hilo, pero creo que se llega rápidamente al resultado con la complicidad del paquete "reshape2". Si DT es el data.table que escojo Francisco como ejemplo: > DT ID YEAR CANTIDAD 1: 100 2005 1 2: 100 2005 2 3: 100 2007 1 4: 100 2007 1 5: 100 2007 1 6: 120 2006 1 7: 120 2006 5 8: 120 2006 1 9: 120 2007 3
2014 Apr 26
3
Acumulado hasta una fecha exacta según individuo
Buenas noches a todos las personas del foro, Me dirijo a vosotros con la siguiente cuestión: ¿Cómo es posible obtener, para cada individuo (identificado con la variable ID) de un data frame, la CANTIDAD ACUMULADA hasta una determinada fecha (día, mes y año), que es diferente para cada individuo y que se denota por la variable ENTRADA? Ejemplo: require(data.table) datos2 <-
2014 Mar 10
3
Frecuencia absoluta acumulada por individuo y por año
Hola, Vaya, en el código que he enviado, cusum no se incrementaba.. Y has indicado que se introduce un año más, con el mismo ID que el anterior y con la misma cantidad acumulada. Pero si el siguiente año es del mismo ID, acumula el valor de la cantidad que hemos introducido en esa fila... Con el siguiente código se resuelve este error y además ya está preparado para contemplar cualquier tipo de
2017 Mar 08
2
Primer valor
Buenas Tengo un dataset como el que viene: datos1 datos2 grupo 0 122 A 1 128 A 2 129 A 3 241 A 0 201 A 1 185 A 2 174 A 3 125 A ... .... .... ... .... .... ...
2018 Feb 15
3
help (Crear bucle para generar un dataframe a partir de datos .mdb)
Hola, Tengo un conjunto de bases de datos de una encuesta industrial para diferentes años (1995-2014). Las bases de datos están en formato .mdb. A su vez, cada base de datos tiene 3 tablas con una variable "ID" común (la "llave") para vincular las tablas. Quiero realizar análisis estadísticos para analizar la evolución de ciertas variables. Quiero armar un dataframe que
2006 Jul 19
3
illegal operation in debian (PR#9086)
Full_Name: Agustin Perez Version: 2.3.1 OS: Debian 2.6.8-11-amd64-generic Submission from: (NULL) (193.147.142.6) First of all excuses for my bad use of english and thanks for read my problem. Well when I do the following comand in R suddenly crashes and exit me for the enviroment: > a<-matrix(1:13500,450,30) > a%*%t(a) *** caught illegal operation *** address 0x2a9590086f, cause
2014 Apr 27
2
Acumulado hasta una fecha exacta según individuo
En primer lugar, muchas gracias a Carlos J. Gil Bellosta, tanto por la rapidez como por la precisión de su respuesta. El código que planteas es exactamente lo que preguntaba. La única duda que me queda es si el data.table final que queda, sólo puede recoger cantidades totales que no sean nulas. A modo de ejemplo, supongamos que los datos contuvieran, para el sijeto ID=100, una variable
2004 Sep 16
5
Indexing lists
DeaR useRs: I have a list with 500 elements, in each other there are data.frames and I want to take the first row and the first column of each elements of my list since the first to the 500-th. Thanks and excuse my bad English. --- [[alternative HTML version deleted]]
2009 Dec 22
0
Reshpaing for xyplot() or ggplot()
Dear list, I have 2 data sets such as: > head(calib20090730b) color XR XG XB L1_1 L1_2 L1_3 1 1 87 55 62 116 124.0 100 2 2 164 125 134 204 203.0 153 3 3 118 64 98 157 101.0 139 4 4 65 72 72 102 111.0 135 5 5 142 95 112 176 161.5 133 6 6 89 113 112 125 128.0 195 > head(refpanel) color B G R NIR1 NIR2 1 1 0.07 0.10 0.17
2003 Dec 15
2
Error with spdep
Dear useRs: First of all I would like to thank all the responses. I've an error with package "spdep". I am working with a Windows XP machine (AMD-2000-XP RAM-256DDR) and 1.8.0. R-version and when I try to load spdep appear the following error: > library(spdep) Error in loadNamespace(i, c(lib.loc, .libPaths()), keep.source) : There is no package called
2004 Jun 23
2
legend
DeaR UseRs: I want to put a legend in my plot. In the first line of the legend I want to put a box filled but in the second one I would like to put a lty=2 Of course it must appear with different colors. Thanks.
2003 Nov 14
1
packages
Hello every body, I am new in this list and I am Spanish (excuses for my English) I have a lot of versions of R (under windows) and I want to know the mode to use the packages of these versions without download any more. It takes me more time because I have all the packages that there are in CRAN. Thanks, Agustin Perez
2012 Sep 05
0
model.table (anova)
Hello everybody, I have a problem with the model.table of anova. I have data (datos2) with 4 cluster (V7), calculated with daisy and hclust. str(datos2) 'data.frame': 56 obs. of 7 variables: $ Estacion: Factor w/ 56 levels "Abradelo","AltoDoRodicio",..: 1 2 3 4 5 6 7 8 9 10 ... $ Invierno: num 36 53.9 37.1 63.6 12.5 ... $ X : int 643449 616292 562796
2003 Dec 18
3
Summaries
Hello UseRs: Excuses for my english. I have a dataset with 65000 records and I'd like to make a summary where I can view all the values (with the number of times that it repeats) that there are each column of my dataset. I tried with summary( ), str( ), but nothing gives me the result that I am loking for. Thank you very much.
2011 Jul 29
10
Media Ponderada
Hola a todos. Ya he escrito sobre esto pero vuelvo a no ser capaz de resolver una cosa Tengo este archivo año   mes      fecha  puerto           barco   origen       arte            2007 enero 2007-01-04 Ribeira  juan        Norte     PAREJA      2007 enero 2007-01-04 Ribeira    luis        -Norte     BETA    2007 enero 2007-01-04 Ribeira  pedro     Norte     PAREJA      2007 enero
2008 Jun 27
4
Recoding
Hi! Given a vector (or a factor within a df),i.e. v1 <- c(1,1,1,2,3,4,1,10,3) and a dictionary cbind(c(1,2,3),c(1001,1002,1003)) is there a function (on the same line than recode() in car) to get v2 as c(1001,1001,1001,1002,1003,4,1001,10,1003) ? I'm using myself a function based on match() since long ago (I think that thanks to advice by Prof. B. Ripley), but would like to know if there
2008 Sep 12
2
Greyed text in the background of a plot
Hi! Is there any way of having a greyed ("ghosted") text (i.e, 2006) in the background of a plot? I'm making a dynamic plot and would like to show the year of each time step as a big greyed text in the background. (the idea comes from Hans Rosling video: http://video.google.com/videoplay?docid=4237353244338529080&sourceid=searchfeed ) Thanks Agus -- Dr. Agustin Lobo Institut
2012 Jun 08
3
day of the year for chron objects
Hi! Is not there an standard R function to retrieve the day of the year (since 1st Jan of the same year)? I know I can make my own using julian, but find it weird that having days(), months() etc doy() does not exist as an standard function. Also, is the following not a bit inconsistent? > a <- chron("20100506",format="ymd") > a [1] 100506 > years(a) [1] 2010