Displaying 20 results from an estimated 2000 matches similar to: "How can i do the same thing in the China map?"
2011 Apr 18
4
(no subject)
Hai
From which CRAN mirror can get the package ‘LPP2005REC’
Ram
[[alternative HTML version deleted]]
2006 Apr 24
1
Problem with the cluster package
Hi everybody,
I want to use the cluster package (Cluster Analysis Extended Rousseeuw et
al.). I downloaded it from the CRAN and installed it on my linux system
(fedora core 4). All seemed to be allright.
But when trying to launch examples, I obtained the following message :
> library(cluster)
> data(votes.repub)
> agn1 <- agnes(votes.repub, metric = "manhattan",
2006 Dec 27
3
counties in different colours using map()
Hi,
I would like to plot a map of US counties using different colors. map()
seems to be the function to use, e.g.
library(maps); map('usa'); map('county', 'colorado', add=T,fill = T,
col=c(1:5))
plots Colorado counties using colours 1 to 5.
However, I want each color to represent a certain value - a value to be
picked from a data frame.
This code should show a
2004 Mar 07
1
drawing filled countries according to data using map('world')?
> My question then is, how to compute a similar procedure using the 'world'
> database. Specifically, how can I access the country names in the 'world'
> database to accomplish the translation to the country names in my dataset?
> Is there any way to unpack the 'world' database to do the matching in an
> external program? And does anybody now of other (more
2003 Jan 08
1
Lattice: Plotting two densities on the same plot(s)?
I am trying to plot two density lines on the same graph. Using the
functions on the base package, I would go:
plot(density(x), col = 1)
lines(density(y), col = 2)
And I get two distinct (one-bump) density lines. When I try to do it
using lattice, I get two two-humped lines. (In other words, I think the
smoothing function is taking the next set of data points and smoothing them
in the same
2012 Jul 05
1
Different level set when predicting with e1071's Naive Bayes classifier
Hi!
I'm using the Naive Bayes classifier provided by the e1071 package (
http://cran.r-project.org/web/packages/e1071) and I've noticed that the
predict function has a different behavior when the level set of the columns
used for prediction is different from the ones used for fitting. From
inspecting the predict.naiveBayes I came to the conclusion that this is due
to the conversion of
2012 Jul 05
1
colored nodes in dendrogram
Dear list,
is there a way how to add information to internal nodes (branching
points) in dendrogram created via plot.agnes function (package
cluster)?
I wish to place colored circles on the nodes, but I don't know how to proceed...
I'll be grateful for any suggestion
Ond?ej
--
Ond?ej Mikula
Institute of Animal Physiology and Genetics
Academy of Sciences of the Czech Republic
Veveri 97,
2013 Feb 19
3
creating a new variable.
hello, all.
in my previous research, i have always used existing data. i am trying something new as an exploratory exercise and have never create my own variable form scratch.
essentially, i am creating a variable for party affiliation.
here is an example.
var =party.
levels= democrat, republican, other.
respondents will indicate which category they fall under.
for the sake of ease, i will
2007 Jan 31
2
How to print the objects in the memory
Hi,all:
May be a pointless question
a <- 1:10
b <- matrix(1:8,nrow = 4)
c <- letters[4:8]
????
> ls()
[1] "a" "b" "c"
ls() can print the names of the objects in the memory ,
but I want to get the result :
> a
[1] 1 2 3 4 5 6 7 8 9 10
> b
[,1] [,2]
[1,] 1 5
[2,] 2 6
[3,] 3 7
[4,] 4
2005 Apr 24
4
Vncserver not serving up my gnome desktop, just a fancy terminal!
I have the vncserver running on CentOS 4, but when I log in
using vncviewer from another box, I don't see my gnome
desktop, just a fancy terminal. I suspect I need to edit
the ~/.vnc "xstartup file, but what do I add to fix this.
On all other distros I have tried, the vncserver serves up
my gnome desktop by default.
--
Lee Parmeter Emperor, linXos - The Flying Penguin
2005 Apr 24
3
apt repo's for centos
I downloaded and installed apt and synaptic using yum ok,
but are there corresponding apt repo's for the yum ones? If
so, what are they?
--
Lee Parmeter Emperor, linXos - The Flying Penguin
http://www.linXos.com
Linux Registered User #337161
'It's free. It works. Duh.'" - Eric Harrison
The United States is NOT a democracy, it was founded as a Republic!
God is not a
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
2009 Apr 16
1
map of china without regions
Hello,
I use the map package in conjunction with the mapdata package,
and I want to draw the map of China without interior regions.
After reading the doc and searched in this mailing list I've tried
map("china",interior=FALSE)
and
map("china",fill=TRUE)
but I allways see the interior regions...
If someone can help me...
Thanks
Etienne
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
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',
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 !
2010 Jan 21
2
(no subject)
Hi
is there a way in R to create a new column vector with the numbers of 2 others columns simply appended?
Example : I have a column with provinces codes (1 to 19)
I have a second column with districts codes (1 to ##, depending on the province)
I want to create a third column with a code that would be unique for each district:
Province District District_Unique
1 1 11
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 =>
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
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