similar to: Drawing Polygons with xyplot in lattice

Displaying 20 results from an estimated 200 matches similar to: "Drawing Polygons with xyplot in lattice"

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
2009 Jan 27
1
Data Frame Manipulation: Time Series
Dear R Helpers: I have a data set where the unit of observation is country-year. I would like to generate a new data set based on some inclusionary (exclusionary) criteria. Here is an example of the type of data that I have. df<-data.frame(cbind("country"=c(rep("Angola", 9), rep("Burundi", 7), rep("Chad", 13)), "year"=c(1975:1983, 1989:1995,
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
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
2004 Oct 06
3
read.delim problem with trailing spaces
I'm trying to read a comma delimited dataset that uses '.' for NA. I found that if the last field on a line was a missing '.' it was not read as NA, but just a '.', and the life variable was made a factor. The data looks like this, income,imr,region,oilexprt,imr80,gnp80,life Afghanistan,75,400.0,4,0,185.0,.,37.5 Algeria,400,86.3,2,1,20.5,1920,50.7
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
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
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
2009 Feb 09
2
Generating new variable based on values of an existing variable
Dear R Help-Listers: I have a problem that seems like it should have a simple solution, but I've spent hours on it (and searching the r-help archives) to no avail. What I'd like to do is to generate a new variable within a data frame, the values of which are dependent upon the values of an existing variable within that data frame. Assume that I have the following data:
2008 Aug 27
3
Calculating total observations based on combinations of variable values
Hello: As someone making the move from STATA to R, I'm finding it difficult at times to perform basic tasks in R, so forgive me if I've missed an obvious and easily obtained solution to my problem. I've searched the help guides and the archives and have not been able to find a solution that works. I have a data frame with thousands of observations that looks something like this:
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
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
2008 Oct 01
3
Change color of plot points based on values of a variable
Dear R users: I have run a logistic regression, used Gelman et al.'s car package to simulate the parameter estimates of that model, and have plotted the probability (using Gelman et al.'s invlogit() function) of the dependent variable being 1 given the value of a particular independent variable is at its mean. The plot has probabilities on the y-axis and the number (1-1000) of the
2011 Aug 29
2
rpart: apply tree to new data to get "counts"
Hi, when I have made a decision tree with rpart, is it possible to "apply" this tree to a new set of data in order to find out the distribution of observations? Ideally I would like to plot my original tree, with the counts (at each node) of the new data. Reagards, Jay
2011 Dec 14
3
acceptable SASL mechanisms/can libvirt authenticate against PAM
I was playing with SASL authentication a bit today and I wasn't able to get libvirt to authenticate against PAM (or anything else except the sasldb, although I didn't try Kerberos). Does anybody know off the top of their head what mechanisms/password check options work? I'm trying to figure out if I'm attempting the impossible. Dave
2008 Dec 10
2
Confusion with Converting Factors to Dates using as.date
Dear R-Helpers: I'm having a problem getting dates into the correct format. I have a data frame, which is based on a .csv file that I imported into R via read.table. R has converted my date variables to factors; when I use the as.Date command, most of the values are converted "correctly" (and by this I guess I mean converted "as I wish them to be") but some have not been.