Displaying 20 results from an estimated 1000 matches similar to: "thematic maps, missing data, gmap"
2008 Aug 03
0
gmaps, projection, inset
Running R version 2.6.1 under Gentoo Linux, I'm trying to produce a
thematic map of the USA using the gmaps package. The result thus far
has two problems from my point of view.
First, the projection (Miller cylindrical?) elongates southern states
and flattens northern ones unattractively. I'd prefer Albers conic
projection or something similar.
Second, the inset for Alaska is placed
2008 Aug 04
2
thematic map of USA
My goal is to prepare a thematic map of the US, with states shaded
according to their values for a variable of interest. I would like to
include an inset for Alaska in the upper left and an inset for Hawaii in
the lower left. If possible, I'd like to use Albers conic projection, or
something similar. Thus far I have tried using the maps package with
its state database (which omits
2012 Nov 03
1
Logical vector-based extraction
Hello,
The most part of the program works except that the following logical variable does not get created although the second logical variable-based extraction works.
I don't understand what I am doing wrong here.
state_pflt200 <- df$p_fatal <200
df[state_pflt200, c("state.name","p_fatal")]
I would appreciate receiving your help.
Thanks,
Pradip Muhuri
2012 Sep 12
1
Plotting US States: Issue with filled colors cycling
I'm having issues when trying to do a filled State plot using the maps()
package. It seems that the color values aren't being plotted correctly,
and I'm not sure why...
I've started debugging it, but I'm stuck. I've attached the code that I've
got so far. The for loop plots states 1:i. What I'm noticing is that the
colors are correct until after Michigan gets
2009 Jul 03
2
mapping states with colors
Hi folks,
I'm just learning how to use maps. As an initial foray, I'm mapping the
states that have "duty to retreat" (blue) and "stand your ground" (red)
self-defense standards. Here is my extremely naive script:
dtr <- c('alabama', 'arizona', 'conneticut', 'delaware', 'dist of columbia'
, 'hawaii',
2006 Jul 31
0
Choropleths maps of the USA states (PR#9111)
Dear Colegues:
I have tried to reach Ray Brownrigg, Ray.Brownrigg at mcs.vuw.ac.nz
but my mails have turned back with the following comment
did not reach the following recipient(s):
Brownrigg at mcs.vuw.ac.nz on Mon, 31 Jul 2006 12:52:39 +0100
There is no such account in the address
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
2006 Feb 11
0
hclust(stats) merge matrix interpretation
Hi,
We are trying to interpret the clusters generated by hclust method of R "stats"
package. The problem here is when i get the hc$order then there is some
order, while exporting to file that order is lost. Here is the example code
and their results:
> hc <- hclust(dist(USArrests), "ave")
> plot(hc)
> hc$label
[1] "Alabama" "Alaska"
2013 Jan 08
2
Applying a user-defined function
Hello List,
My goal is to apply a user-defined function on several columns of a data frame. When testing the code on a reproducible example below, I get the following error message.
> #now Write a new function using the above cut ()/quantile function to apply on different columns of the data frame
>
> CutQuintiles <- function(x) {
+ cut (test1$x,quantile (test1$x,
2012 Dec 31
3
cut ()
Hello List,
My goal is to create a 5 category variable (p1_st_data$ob_mrj_cat), based on the p1_st_data$obt_mrj_p variable, using the following code for 50 States and District of Columbia (N=51).
p1_st_data$ob_mrj_cat <- cut (p1_st_data$obt_mrj_p, quantile (p1_st_data$obt_mrj_p, (0:5/5), include.lowest=TRUE))
The issue is that, for Utah, I am getting an <NA> instead of (42,48.7] in
2006 Jul 08
6
Trying to create pulldown select menu for US State form fiel
I noticed there is a country_select. Is there anything like
us_state_select maybe?
More specifically - I''m wondering if I manually have to populate an
array with all the U.S. state abbreviations so users can select which
state they live in while entering their mailing address.
--
Posted via http://www.ruby-forum.com/.
2011 Jan 18
1
Changing gmap marker icons while onclick
Is there any way to change gmap marker icon while onclick and get back
its original icon while clicking another marker or map. Suppose, In my
gmap, I''m showing events in different colors(icon''s). while clicking a
marker the icon should change to yellow and should get back its
original color when clicking another marker on the map.
--
You received this message because you are
2008 Aug 15
1
map("state" ...) Is the USA cracking up?
Running R version 2.6.1 under Linux, I'm trying to use the maps and
mapdata packages and the state database to produce a thematic map of the
USA. My problem is that cracks (white spaces) appear between some
states--e.g. between Colorado and Utah and between Michigan and Indiana.
The resulting visual impression is that the country is breaking up.
This occurs in all the projections I have
2008 Aug 05
0
P values in non linear regression and singular gradients using nls
Dear all,
We are trying to fit a non linear model to dispersal data.
It seems that sometimes when the fit of the model of the data is not
very good we start getting singular gradient errors. However if we
modify slightly the data this won't occurr. We have also tried changing
the initial parameter values and the algorithm for fitting in nls but
didn't help.
So we ended up programming a
2004 Jun 08
1
failure to create lock
Jun 8 23:14:09 dakota pop3(dakota): open(/var/spool/mail/dakota.lock) failed: P
ermission denied
Jun 8 23:14:09 dakota pop3(dakota): file_lock_dotlock() failed with mbox file /
var/spool/mail/dakota: Permission denied
Jun 8 23:14:09 dakota pop3(dakota): open(/var/spool/mail/dakota.lock) failed: P
ermission denied
Jun 8 23:14:09 dakota pop3(dakota): file_lock_dotlock() failed with mbox file /
2004 Jun 06
1
dovecot and fc2
Hello
I am migrate FC1 to FC2, in FC1 i use ipop3d, but in the migration to FC2 this programa is obsolete, i decide migrate to dovecot, but i have problems with the old mail
i have the mail stored into /var/spool/mail/USER
and this error appears with examine the mail with Oulook Express:
Jun 6 23:24:10 dakota pop3(dakota): open(/var/spool/mail/dakota.lock) failed: Permission denied
Jun 6
2005 Jan 13
1
Status of latest round of Allison recordings
Just wanted to catch everybody up. So many people contributed to the
work list that I'd probably miss several if I tried to notify just
them. Many people contributed funds, too, which I greatly appreciate.
We were able to get the entire list done, which added up to two full
hours of work on Allison's part. And that's just the recordings --
I'm doing the editing myself.
Which
2005 Aug 19
2
problem with USB conection
Regards
I am installing NUT for the UPS Skate UPS-2200D, the UPS have conection with USB to PC and i have problems to configure nut
the ups is conected and Linux report this config
Aug 19 23:34:56 dakota kernel: [22393.099595] usb 2-2: new low speed USB device using uhci_hcd and address 7
Aug 19 23:35:06 dakota kernel: [22403.186326] usb 2-2: Product: MEC0002
Aug 19 23:35:06 dakota kernel:
2006 Oct 10
1
read.table versus read.csv (PR#9284)
This message is in MIME format.
--=_6vx1wr5xhvr4
Content-Type: text/plain;
charset=ISO-8859-1;
DelSp="Yes";
format="flowed"
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Dear R Core Team,
Help to 'read.table' claims that
'read.csv' is identical to 'read.table' except for the defaults.
However, 'read.table' seems
2011 Jul 14
1
calculating distance inland from coastline
Hi All,
Does anybody know of any existing functions that will calculate distance
inland from a coastline?
It's possible to test if a lon,lat location is land or sea using
map.where(), but I need to add a buffer to this of say 2km, to allow for
points that are just on the coast, and below the resolution of the
worldHires database.
I'm working with a marine mammal satellite telemetry
2008 Apr 11
1
polygons on scatterplot3d
Does anyone have any experience plotting complex polygons on a
scatterplot3d display? I would like to present some spatially binned
data in a 3-d type plot with background polygons (i.e.. a filled
coastline map). I can get the coastline onto the plot window as a
line type but cannot figure out how to fill the shape. I'm certain it
may be possible but might require a bit of digging