Displaying 20 results from an estimated 600 matches similar to: "(no subject)"
2010 Sep 05
1
Add y-title to a plot with two y axis
Hi all,
We managed to plot two series on the same graph, with two y-axis,
however, we haven't managed to add a title to the second y-axis
x1=rnorm(25, mean=0, sd=1)
y1=dnorm(x1, mean=0, sd=1)
x2=rnorm(25, mean=0, sd=1)
y2=dnorm(x2, mean=0, sd=1)
plot(x1, y1, type='p', xlab='x', ylab='y')
par(new=TRUE)
plot(x1, y2, type='p', axes= FALSE,
2005 Sep 09
2
shapefiles manipulations ??
cheers ,
I need help in shapefile manipulations. I have two shapefiles of my country Cameroon.
The first contain 10 provinces and each province contains a certain number of administratives units. I dont have ESRI Arc view. I want to add a admistrative unit of the center province to the map with 10 province.
Is it possible to to take a peace of shapefile and combining it to another ?
Thanks !
2012 Jan 13
1
Change state names to abbreviations in an irregular list of names, abbreviations, null values, and foreign provinces
I'm trying to create maps of reptile abundance in different states &
counties using data from Herp.net, which provides lists of specimens
with the places that they were found. First I would like to parse the
list by state using 2-letter abbreviations, since I'm focusing on
certain regions. To do this, I've been trying to create a vector
(state2) that gives all state names as
2008 Sep 05
2
upgraded maps database for italy?
Dear UseRs,
I'm using the library maps. I'm drawing maps of Italy. The map available for
this library were prepared around *1989*:
"This italy database comes from the NUTS III (Tertiary Administrative Units
of the European Community) database of the United Nations Environment
Programme (UNEP) GRID-Geneva data sets. These were prepared around *1989*"
[cited:
2007 Nov 07
5
Unexplainable failure...at least for me
I have an address model with country_id and province_id fields
There is also a full_address method that returns an address that is in a
format that the google maps api will be able to return a long-lat
coords.
Within the full_address method there is a call to obtain the
province/state and country name.
---------
def full_address
...
full_address = [city, self.province.name,
2012 Jan 25
1
Coloring Canada provinces (package maps?)
Dear R'ers,
I am wondering what is the smallest geographicterritorial unit
available for formatting in Canada. Provinces?
I know that in the US it is the county so that I can color US
counties any way I want, for example:
### Example for coloring US counties
### Creating an ARTIFICIAL criterion for coloring US counties:
library(maps)
allcounties<-data.frame(county=map('county',
2018 Mar 19
1
Labelling a fortified GADM map plotted with ggplot and geom_map
I am having trouble getting data labels to display over the provinces in a GADM map of Canada.
Specifically, I need the variable "Number" from the data set "by_province", grouped by "region", to appear on the corresponding regions of the map.
The data set "by_province" looks like this:
long lat order hole piece region
2012 Jan 27
1
Overimposing one map in ssplot onto another
Hello!
I have 2 maps - both created in ssplot and both identical in terms of
outline. Is there any way to superimpose Map1 (which has black borders
between Canadian provinces) onto Map2 (which is also a map of Canada)?
Thanks a lot for your hints!
Dimitri
### A. Reading in Canada data at the province and then at the county level:
library(raster)
getData('ISO3') # Canada's code is
2010 Feb 25
6
Subset Question
Hello helpful R folks,
First off, please forgive my English. Second, I'm new with R, I've
searched the archives about subsets, and I haven't found quite the help I
need.
I'm currently analysing a population survey whose data set has about 15000
households (the rows/observations) and 130 variables (the columns). I've
managed to import the set into R as a data.frame called
2006 Feb 27
2
list of countries, states, cp, etc.
I''m doing a registration form.
I saw many registrations forms which asks you for a country and it lists
all the countries of the world, and when you select a country the form
is actualized with all the states or provinces, and when you select a
state/province then the form is actualized with all the cities.
I''m looking to do something like that, is there a free service or pay
2004 Feb 16
2
Data for use in maps()
Dear all,
I am interested in plotting maps visualizing spatial statistics in an
aggregated fashion, according to administrative boundaries.
More specifically, I have fitted a cross-section model on data regarding
Italian "counties" (province, for Italian readers) and I would like to
visualize residual behavior on a map, in order to have a first
assessment of their spatial
2002 May 13
1
Spatio-temporal analysis of homicide rates
Dear R-listers,
I would like to carry out a very basic descriptive analysis of homicides
rates in Italy, taking into account both the spatial dimension (103
provinces) and the temporal dimension (10 years), but no covariates. In
practice, what I would like to do is to describe spatio-temporal variation
of homicide rates, identifying those combinations of province-year where
the homicide rate
2013 Jun 06
1
Error invalid graphics state using text()
I'm using ssplot for drawing a map of Austria and colour the nine provinces
regarding their share of employment. Now I wanted to add the figures in each
province and failed miserably. Using the locator() and text() function
caused the error message "invalid graphics state". I try to show you what I
have done below, maybe you can find a general fault in my codes. I know that
it's
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:
2006 Sep 12
1
samba/PAM/winbind/ssh
I have the winbind login working on FC5 but now logins to local accounts
cannot authenticate.
My config files are here:
http://www.pigeonnier.org/nsswitch.conf
http://www.pigeonnier.org/pam.d/
http://www.pigeonnier.org/krb.conf
Again, if I try to ssh in as a user that exists only as a local account on the remote
host, I am rejected. User msh is -not- a AD account and only exists on the
FC5
2006 Jul 27
1
Routes not working when submitting a form
Hi,
I have the following code, a very basic textfield with a submit button:
<%= form_tag({:controller => "job", :action => "index"}, :method =>
''get'') %>
<%= text_field_tag ''province'', @province %>
<%= submit_tag "search" %>
<%= end_form_tag %>
In my routes.rb file I have:
map.connect
2008 Oct 21
3
code works in R desktop but not iin RWeb - How do I modify to get it working in RWeb, please?
Hi,
How are you? I have a quick question.... I have code that works perfectly
with R desktop, but does not work with RWeb. Could you please tell me how
to modify the code below so it will work with RWeb?
#Read in txt file
happyguys<-read.table("c:/test8.txt", header=TRUE, row.names=1)
#Subset the txt file to only include certain values
test<-subset(happyguys, GRADE == 7
2008 Apr 29
1
generic question ==>> mapping Longhurst biogeochemical ocean provinces in R
*Hello all
**
I am a newbie to R plotting maps. I am trying to plot over a world map a
layer of Biogeochemical provinces (BGCP) by A.R. Longhurst. Each ocean
region unfortunately are quite irregular in shape (not perfect squares). In
GIS this layer of ocean provinces would be a layer of polygons, which I am
assuming it cannot be plotted with R.
I was wondering If anybody has encounter this
2008 Dec 17
4
Plot multiple lines, same plot, different axes?
Dear list,
I would like to plot 2 series of numbers with very different ranges/scales as lines on the same plot. I assumed this is commonly done and easy, but I have not found any help files (e.g. axis() or matplot() that show how. I've searched many old posts to no avail.
I'll be very grateful for any suggestions on how this is done.
Best,
Zack
2006 Aug 16
1
how to update a collection_select from another
I have two collection_select in my list.rhtml:
<%= collection_select (:region, :id, @regionall, :id,
:title,html_options={:onChange => "new
Ajax.Updater(''related_provinces'',''/categories/related_provinces/" +
"?id=''+this[this.selectedIndex].value,
{asynchronous:true, evalScripts:true});"}) %><br>
<%= render :partial =>