similar to: Data Frame Manipulation: Time Series

Displaying 20 results from an estimated 2000 matches similar to: "Data Frame Manipulation: Time Series"

2009 Jan 13
1
Drawing Polygons with xyplot in lattice
Hello: I've come to a dead-end in my search for a solution to a graphing problem that I am encountering. I have used xyplot (from the lattice package) successfully to plot 36 time-series plots (lines) of under-5 mortality for a set of countries in Sub-Sarahan Africa. What I would now like to do is to add vertical bands (rectangles) that correspond to time-periods during which each of the 36
2009 Mar 18
1
lm function (PR#13608)
Full_Name: Michael Aaron Karsh Version: 2.8.0 OS: Windows XP Submission from: (NULL) (75.61.109.172) I tried using the lm function to regress the third column listed below on the second column listed below. It gave me an error message. My code is below. > HDISWLSdata=read.table("RHDISWLS.txt") > HDISWLSdata V1 V2 V3 1 DENMARK
2006 Jul 18
2
how can I delete rows?
Hello, I am very new in R so I am so sorry for this question. I have the Barro-Lee data set which contains 98 countries and I want to run the regressions only for the Latin America countries, so what do you recomend? How can I delete all the other countries or how can I select the countries of Lat. Am. thank you this is the list of countries SHCODE COUNTRY NAME WBCTRY
2019 Sep 04
2
Plot. window error- Usando R base. Gráfico
Lo que obtengo es dim(currcty) = NULL lo que hice es crear una lista de paises countrylist <- unique(length(eco_freedom2$Countries) Los datos son de esta forma head(eco_freedom2, 5) Year ISO_Code Countries SUMMARY.INDEX X1..Size.of.Government 641 2000 AGO Angola NA NA 601 2001 AGO Angola NA NA 561 2002
2019 Sep 04
2
Plot. window error- Usando R base. Gráfico
No me sale error pero no me imprime la linea, ni ningun gráfico por pais. On Wed, 4 Sep 2019 at 18:42, neo <ericconchamunoz en gmail.com> wrote: > podría ser el problema el tipo de dato en X y el tipo de gráfico que > intentas hacer ? > > si Year es entero y estas pidiendo que el gráfico sea tipo "I", podría > ser que quizá eso te produce el error ? > > si
2011 Aug 04
1
Running a column loop through the Moran.I function.
Dear R users, I have two data frames that consist of statistical information for most countries around the world. One dataframe consists of the latitude and longitude ("coord.csv") of each country, while the other consists of 100's of different attributes ("countryattri.csv") for each country (like, GDP, Population, etc.). The data is organized with a header and then
2013 Apr 22
2
subset dataframe
I can't understand what is happening. This is the code and results: > agoa <- read.table(file = "C:/Users/HTPC/Documents/_Documents/Research/WithDidia/AGOAUSImports.txt", header = T, sep = "\t", dec = ".", na.strings = "NA", stringsAsFactors = T)# > str(agoa); names(agoa) 'data.frame':109 obs. of  19 variables:  $ X    : Factor w/ 39
2019 Mar 06
2
Crear una variable tipo factor a partir de un vector de caracteres
Hola estimados miembros de la comunidad de R Tengo un conjunto de datos, donde tengo observaciones por países y por año. Una de las variables del dataframe es el nombre del país. Queremos dividir los países, que son países africanos de acuerdo a 5 regiones: norte de africa, africa del este, sur africa, etc Yo lo que he hecho ha sido crear vectores con el nombre de cada uno de los países en cada
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 Albania 4 ALB 3 Algeria
2019 Mar 06
3
Crear una variable tipo factor a partir de un vector de caracteres
Pero eso es para crear variables binarias tipo 0-1 si el pais pertence a un determinado grupo. Lo que quiero es crear una variable de tipo factor con esos 5 niveles, sabiendo que tengo en el dataframe una variable llamada Country, con el nombre del pais. Gracias On Wed, 6 Mar 2019 at 15:27, Xavier-Andoni Tibau Alberdi < xavitibau en gmail.com> wrote: > Buenas, > > Para ello yo uso
2019 Feb 19
2
Cambiar el formato de datos
Después del "gather()" puedes hacer un "arrange()" que es una ordenación. Y dentro de "arrange()" le indicas la variable por la que ordenas (no hacen falta comillas)... Lo ordenará alfabéticamente. Saludos, Carlos Ortega www.qualityexcellence.es El mar., 19 feb. 2019 a las 13:47, Antonio Rodriguez Andres (< antoniorodriguezandres70 en gmail.com>) escribió:
2013 Mar 14
1
ggplot2 problem
Hello all! I have a problem with ggplot2 library. I want to do an heat map and the y variables are the year months. If I use the following code, he y values are in alphabetical order, but I want it in month order. The code is: library(reshape) library(ggplot2) library(scales) p <- ggplot(data.m, aes(variable, Month)) + geom_tile(aes(fill = value),
2019 Mar 06
2
Crear una variable tipo factor a partir de un vector de caracteres
Si lo que quiero es crear una variable llamada por ejemplo region (del tipo factor) con esos 5 valores On Wed, 6 Mar 2019 at 15:41, Xavier-Andoni Tibau Alberdi < xavitibau en gmail.com> wrote: > No, No. Fíjate en el Ifelse(condición, valor si positivo, valor si > negativo). > > Si, x %in% ca entonces el valor devuelto es "ca", un factor. En caso > negativo, vamos
2008 Sep 17
3
Stacked Area Plot
Hi: I've searched the archives and the Internet for hours but have yet to find a way to do stacked area plots (like the kind in Excel) in R. I think that polygon may work but it would require a bit of manipulation of my data. I was hoping for an easier way. An example of what I'm trying to do can be found here: http://jcharts.sourceforge.net/samples/stackedArea.html Thanks, Josip
2007 Feb 28
4
legend question
Hi to all, I'm sorry for posting this question, I am sure I am missing something important but after reading the documentation I cannot find where the problem is. I want to add a legend to a figure. If I use a simple example drawn from the R Reference Manual such as, for instance: x <- seq(-pi, pi, len = 65) plot(x, sin(x), type="l", col = 2) legend(x = -3, y = .9,
2009 Oct 16
2
Invite after bye?
Hi there noticed a strange thing in asterisk 1.6.2x 1.6.1x after one of the clients sends bye asterisk first sends invite to other side then after 200 ok it sends bye I am not sure but that could be some missconfiguration issue or a bug? so it's like this: side A sends bye to asterisk, asterisk responds with 200 OK to side A, then it sends INVITE to side B, expects 200 OK
2009 Oct 22
2
carefulwrite: write() returned error: Broken pipe
Dear, I am getting this in CLI on release candidate version of Asterisk. Any ideas, or points where to look? -- Launched AGI Script /var/lib/asterisk/agi-bin/rad-auth.agi [Oct 22 18:21:45] ERROR[9853]: utils.c:1126 ast_carefulwrite: write() returned error: Broken pipe -- <SIP/916-fc001968>AGI Script rad-auth.agi completed, returning 0 Best regards, Josip
2008 Nov 04
1
perform Kruskal-Wallis test without using the built-in command in R
Hi, again i am stuck in my presentation, and i have never learn R before in my life but need this to be done, so please help me out for a favour: http://www.nabble.com/file/p20333155/kew.dat kew.dat run this in R and these comes up: Month Year Rain 1 Jan 1900 74.400000 2 Feb 1900 80.500000 3 Mar 1900 23.600000 4 Apr 1900 23.600000 5 May 1900 25.100000 6
2005 Sep 07
4
How to connect many analog lines to Asterisk?
Hello! If I have more than a hundred analog telephones (analog lines) that need to be connected to Asterisk PBX, what kind of hardware do I need, and where can I buy it? Thanks in advance!
2011 Jan 12
5
upstream merge status for 2.6.38?
Hi, I see a round of bug fixes and well as xenbus were pulled upstream. Is anything else going into .38? -- 2. That which causes joy or happiness. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel