Displaying 20 results from an estimated 2000 matches similar to: "Map using projection"
2009 Mar 02
1
plotting on map
Hi list,
I want to plot state Texas using map function. I wrote the following code to
plot the grid boundary for Texas:
################################
library(maps)
require("mapproj")
longlatLimit<-c(-106.65, -93.53 , 25.93 , 36.49)
par(plt=c(0,1,0,1),cex=1,cex.main=1) #Set plotting parameters
map(projection="azequalarea",
2007 Nov 13
2
map - mapproj : problem of states localisation
Hi R-user,
I am new with R and I have a problem with the map and mapproj fonctions :
with the following code :
>test_proj=mapproject(LONG_d01_vec_t1, LAT_d01_vec_t1, projection="lambert",
parameters=c(30,60))
>longitude_vec=test_proj$x
>latitude_vec=test_proj$y
>longitude_mat=matrix(longitude_vec,ncol=e_sn_d01)
>latitude_mat=matrix(latitude_vec,ncol=e_sn_d01)
2007 Nov 23
1
ggplo2: fixed extent greater than data?
Hi everyone!
I'm digging into ggplot for some while now, I must say it's great! But - as
some others have posted before, and hadley knows very well himself - the
documentation is lacking some bits...
So I have to pose that question directly:
I'd like to produce a series of maps with different data on, but exactly the
same extent in each plot. Is there a way of switching the
2012 Feb 07
2
units for mapproject() function result
Does anyone know what the units are for projected coordinates obtained
using mapproj's mapproject function with an Albers projection? Thanks for
any and all help!
Buck Stockhausen
***************************************************
* Dr. William T. Stockhausen *
***************************************************
* Resource Ecology and Fisheries Management *
*
2010 Jan 21
1
use R from python
? stato filtrato un testo allegato il cui set di caratteri non era
indicato...
Nome: non disponibile
URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20100121/95fb8869/attachment.pl>
2008 Oct 30
2
xyplot, the first tick mark starts from 2 rather than 1, and also there is a NA as the final tick mark.
I am trying to plot some data, but have got some difficulties with labels on
the tick marks on the x-axes. There are 20 data points. All I want to do is
to plot the Loss versus Lines. When I use xyplot, the first tick mark starts
from 2 rather than 1, and also there is a NA as the final tick mark.
Here is the R code you code give it a try:
Would any body be able to fix this, please?
2006 Feb 09
1
converting lat-long coordinates to Albers Conical Equal Area coordinates
####################################################################################
We have used maptools to construct state, county, township, census-tract,
and zipcode
level R maps with an Albers Conical Equal Area projection. We would like
to be able to
plot the location of weather stations or other point locations on the
maps. The data
the point locations are in latitude-longitude units
2008 Nov 12
2
Linear regression
Hi List,
Does anybody know what function I need to use for a simple regression?
Here is the data: I want to find the value for x1=3.5
data<-data.frame(x=c(1:30),Value=c(31:60))
x1<-3.5
Regards,
Alireza
[[alternative HTML version deleted]]
2012 Sep 27
2
How to write R package
Hi List,
Would you please send me a good link to talk me through on how to write a R
package?
thanks
Alireza
[[alternative HTML version deleted]]
2009 Jan 10
1
Bubble plot on shapefile - projection issues?
Dear R help list,
?
I am working on some data from a study on the habitat use and movement patterns of fish using a marine protected area in Hawaii.? We have a number of acoustic receivers in a MPA, and any time a tagged fish passes within range it records the date and time of detection.? I am trying to make bubble plots?showing the number of detections for each fish at each receiver.? I have been
2011 Mar 02
2
R and Android
Hi List,
Is anybody aware of any R console available for Android mobile? I know that
there is one for Iphone.
thanks,
Alireza
[[alternative HTML version deleted]]
2011 Jun 07
1
RgoogleMaps Axes
R Help,
I posted a question on StackOverflow yesterday regarding an issue I've been having with the RgoogleMaps packages' displaying of axes. ?Here is the text of that submission:
http://stackoverflow.com/questions/6258408/rgooglemaps-axes
"I can't find any documentation of the following problem I'm having with the axis labels in RGoogleMaps:
library(RgoogleMaps)
datas
2013 Feb 13
1
[lattice] display a projected map on a layerplot
summary: I can display a lon-lat map on a lattice::layerplot, and I
can display a Lambert conformal conic (LCC) map on a spam::image, but
I can't display an LCC map on a lattice::layerplot. Example follows.
What am I doing wrong?
details:
I've been using `lattice` (via `rasterVis`) successfully to display
global atmospheric data, which works well enough (though I am
definitely intrigued
2004 Mar 04
4
Accurate area map projections
Hi,
Could any one point me to the projection, and parameters if necessary, that
would show each country/continent with it's area accurately refelcted on the
plot? E.g. aitoff vs. albers vs. bonne vs. cylequalearea vs. guyou - they
don't all look the same to mee but some of the documentations suggests they
are equal area? Of course this isn't my field, so I am largely guessing and
am
2012 Oct 26
1
SQL via RODBC
Hi list,
Is there a way to use sqlQuery function where there is a sql file (ie.
sample.sql)? I just want to mention that in my sql file there are some
comment lines (starting with --). This means that if I paste all the lines
in the sql file, I'll come up with a long string that most part of it is
commneted (after commnet sign --).
thanks
Arvin
[[alternative HTML version deleted]]
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
2008 Jun 18
1
Question
Hi list,
I am trying to convert my Data from 1st following format to the second.
Any comment?
You could copy following in Tinn R
Data<-
data.frame(location=c("postcode","sector","long/lat","sector"),Grade=c("
h","m","L","h"),value=c(2,3,5,6))
#Question: how can I reshape Data to the following
# Grade postcode
2005 Oct 14
2
Beginner plot and map questions
Hi,
I have not been able to find answers to these questions in the FAQs,
manuals, or R-help archives. If answers are available somewhere, please
direct me to them.
1.) Is there a way to convert a table (e.g. represented as a data frame)
to a function, specifying which columns are input and which column is
output? It would seem that this would be useful for plotting
experimental results,
2011 Jul 12
1
installation of package 'mapproj' had non-zero exit status
## Hello.. I have asked a similar question, but this is not fixed as before.
## I am running the following using Ubuntu OS:
R version 2.13.1 (2011-07-08)
Copyright (C) 2011 The R Foundation for Statistical Computing
ISBN 3-900051-07-0
Platform: x86_64-pc-linux-gnu (64-bit)
## when I do this:
> install.packages("mapproj", dependencies=T)
## I get this:
Installing package(s)
2010 Sep 17
2
Was the package installed correctly
Hi folks,
On R
> install.packages("TeachingDemos", dependencies=TRUE)
......
installing to /usr/local/lib/R/site-library/mapproj/libs
** R
** inst
** preparing package for lazy loading
** help
*** installing help indices
** building package indices ...
** testing if installed package can be loaded
* DONE (mapproj)
The downloaded packages are in