similar to: Latitude Longitude to SPDF

Displaying 20 results from an estimated 600 matches similar to: "Latitude Longitude to SPDF"

2013 Jun 10
1
Sending Email with Attachment
Hi, I am trying to send an email through gmail or outlook from my Windows PC and finding trouble to send the email. The code which I am using is given below: Code : library("sendmailR") from <- "abcd@outlook.com" to <- <mailto:efgh@gmail.com> efgh@gmail.com subject <- "Run at" mailControl = list(smtpServer="blu-m.hotmail.com")
2012 Sep 23
2
If Command in Plot
Hi Team, I am trying to very simple plot with command plot. Question : I am trying to plot (x,y) based on the value of Column e. If column e value is greater than 0 then plot(x,y) otherwise do not plot it. Data : structure(list(x = c(1, 1, 1, 2, 2, 2, 3, 3, 3), y = c(1, 2, 3, 1, 2, 3, 1, 2, 3), e = c(0, -1, -2, 1, 0, -1, 2, 1, 0)), row.names = c(NA, -9L), .Names = c("x",
2012 Oct 09
1
General question
Hi, I am currently working in Linux server and wanted to play with our beautiful R software over there. However as its a company server and have lots of restrictions so I am thinking to install it in my home directory. I have three questions in this regard. 1. Is it possible. 2. Is it safe for me and my company data. 3. How can I do that. Please help me to solve this questions and thanking you
2012 Oct 02
1
Ifelse Execution
Hi Everyone, I am trying to run a time based query and need some of your help. Not much of data or packages. Just a simple one. Query I am trying to execute. ifelse ((as.numeric(as.POSIXct("2012-10-01 20:38:00"))), (rnorm(1,2,1)),(Sys.sleep())) Note. Why I am using as.numeric is as I have a list of time at which I wanted to run the command. Something like 1349142243 1349138667
2012 Sep 11
1
Animation Problem
Hi List, I am trying to build an animation and facing problem as animation is not coming "live". The goal is to build "heart beats" like diagram for the data given below. data : structure(list(date = 1971:1991, x = c(41L, 60L, 41L, 61L, 22L, 83L, 31L, 55L, 22L, 14L, 38L, 6L, 29L, 17L, 10L, 99L, 88L, 32L, 68L, 78L, 26L)), .Names = c("date", "x"), class =
2012 Oct 14
3
Pivot Table "like" structure
HI Team, I am currently working on problem and stumped on "for" loop. Data: structure(list(Coutry = structure(c(3L, 3L, 3L, 3L, 2L, 2L, 1L, 1L), .Label = c("J", "M", "U"), class = "factor"), State = structure(c(1L, 1L, 4L, 2L, 5L, 5L, 3L, 6L), .Label = c("A", "C", "K", "O", "S",
2012 Sep 19
2
Data Frame (Very Simple Problem)
Hi List Members, This is a very stupid problem but I am not able to know what the solution can be. I am trying to run a query like below *Program Flow :* 1. a <- data.frame(table( cut( Sys.time() + seq(0,82800,3600), "60 mins") )) # It generates the 60 minute intervals. Thanks David 2. b <- data.frame(a$Var1) # To extract only First Column i.e.
2012 Sep 28
3
Simple Question
Hi Everyone, I am trying a very simple task to append the Timestamp with a variable name so something like a_2012_09_27_00_12_30 <- rnorm(1,2,1). Tried some commands but it doesn't work out well. Hope someone has some answer on it. Session Info R version 2.15.1 (2012-06-22) Platform: i386-apple-darwin9.8.0/i386 (32-bit) locale: [1]
2012 Sep 18
1
Simple String Operation.
Hi List, This is kind of very simple but I am not able to understand how it works... I have a sentence like "Even in the mid-west spring is hardly for 3 weeks, while @south the scenario is different." There are some more example of the same nature and don't know the source yet. What i want to do is remove word after "@".. Solution i think of. 1.
2012 Sep 22
1
Creating multiple maps so points don't overlap
Hello, I am working within package 'maptools' to plot a number of collared animal locations by reading in shapefiles of locations, roads, hydrology, and landownership as imported layers. The trouble I have is that some individual locations are overlapping and I would like to "zoom" into or create new plots for overlapping points/points that are too close together. I will be
2010 Oct 12
6
Rpart query
Hi, Being a novice this is my first usage of R. I am trying to use rpart for building a decision tree in R. And I have the following dataframe Outlook Temp Humidity Windy Class Sunny 75 70 Yes Play Sunny 80 90 Yes Don't Play Sunny 85 85 No Don't Play Sunny 72 95 No Don't Play Sunny 69 70 No Play Overcast 72 90 Yes Play Overcast 83 78 No Play Overcast 64 65 Yes Play Overcast 81 75
2010 Sep 26
4
How to update an old unsupported package
Hi all, I have a package that is specific to a task I was repetitively using a few years ago. I now needed to run it again with new data. However I am told it was built with an older version or R and will not work. How can I tweak the package so it will run on 11.1? It was a one-off product and has not been maintained. Is there a way to "unpackage" it and repackage it to work? I
2012 Aug 13
1
Fine Tuning Country Map
Dear All, Please see the short script at the end of the email, which I assembled looking for bits and pieces on the web. It essentially does what I need: it plots several countries as a color-coded map. I just would like to fine-tune a bit the final image, in particular (1) Select my own colors for "painting" the countries (i.e. associate manually a color to every level) (2) Be
2012 Apr 23
2
automating a script to read a file
Hi, The following script (which I did not develop) is used to calculate and plot a skewed normal curve. The script currently requires the user to input six parameters, rather than reading these directly from a file. I've been spinning wheels here, trying to figure out how to modify the script to automate it. I have four data sets, each in excess of 300 records that I need to process. My
2013 Jan 04
1
SpatialPolygon with the max value gets no color assigned in spplot function when using "at" parameter
Hi, I would like to do coloring of map regions based on the region values "weight". The approach I am taking is first to break regions into equal intervals, classIntervals(spdf$weight,4)$brks #4 intervals in this case and coloring all regions within the interval with the same color col = brewer.pal(4,"RdYlGn")) The max "weight" is as well the boundary of the
2009 Aug 30
1
Trying to rename spatial pts data frame slot that isn't a slot()
Dear List, I am analyzing the home range area of fish and seem to have lost the individuals ID names during my manipulations, and can't find out how to rename them. I calculated the MCP of the fish using mcp() in Adehabitat. MCP's were converted to spatial points data frame and exported to qGIS for manipulations. At this point the ID names were lost. I brought the manipulated
2012 Oct 12
1
problem in downloading RMySQL pkg
when i am installing Rmysql packages i get error like Warning in install.packages : package ?RMySQL? is not available (for R version 2.15.0) which is earliest version should i used ?how should i know the specific version -- View this message in context: http://r.789695.n4.nabble.com/problem-in-downloading-RMySQL-pkg-tp4645967.html Sent from the R help mailing list archive at Nabble.com.
2012 Aug 14
1
twitteR location?
Hi all, Is it possible to get the latitude and longitude of the location of a tweet? If I do tweets<- searchTwitter("#obama", n=200) #get tweets df <- twListToDF(tweets) #converts to data frame for ease of viewing it does not seem to be getting the location of where that tweet was posted. >From what I read from the twitter API this is possible?
2012 Sep 11
1
help in running r query in pre defined time intervals
Hi Team, I am not sure how to run some r queries in continuos time interval for say in each 30 minutes. Will be very grateful if some one can give me some heads up in good direction. Unfortunately I dont have any query written or data which I can share and I know most of the respected people will not like it but it's kind of a thought which is perturbing me from some days. Thanks in
2012 Sep 14
1
Plotting DMAs (Direct Marketing Areas)
Hey useRs! Do any of you guys know how to plot DMAs within R (preferrably within the maps() package)? I haven't been able to find any resources on this, but I apologize if this is a dumb question and I'm overlooking the obvious answer. Thanks for your help! Josh [[alternative HTML version deleted]]