Displaying 20 results from an estimated 525 matches for "longitud".
Did you mean:
longitude
2009 Oct 03
3
How to deal with this :" object ' obs' not found.
...not working.
I even tried a similar example in UCLA webpage:
http://www.ats.ucla.edu/stat/R/faq/sort.htm :it also does not seem to work.
"*sort1.hsb2 <- hsb2[order(read) , ]"*
Do you have any idea how to deal with this problem?? Thank you so much.
-Hyo
> colnames(ttx1)
[1] "longitude 1" "longitude 2" "longitude 3" "longitude 4" "longitude
5"
[6] "longitude 6" "longitude 7" "longitude 8" "longitude 9" "longitude
10"
[11] "longitude 11" "longitude 12" "...
2012 Jun 05
2
Converiting longitude/latitude to utm
Dear all,
I have been trying to convert coordinates from longitude/latitude to utm
but I got an error. As soon as the longitude coordinate is greater than 90,
I get the folloowing error message: "error in pj_transform: latitude or
longitude exceeded limits"
Here is what I did:
SP<-SpatialPoints(cbind(126.59,-14.30),proj4string=CRS("+proj=lon...
2009 Nov 12
1
barplot at specific x values
Dear useRs,
I search for a possibillity to plot stacked bars at specific x positions.
I tried and tried, but the only way i got something adequate was by using lowlevel plots segments(). That is quiet ok, but will not please eyes without a lot of par() lines.
dh<-data.frame(longitude=abs(rnorm(5)),deers=abs(rnorm(5)),humans=abs(rnorm(5)))
plot(dh$longitude,apply(dh[,2:3], 1, sum),type="n",ylim=c(0,max(apply(dh[,2:3], 1, sum))))
segments(dh$longitude,0,dh$longitude,dh$deers, col="green", lwd=12)
segments(dh$longitude,dh$deers,dh$longitude,dh$deers+dh$humans...
2009 Mar 06
1
help to use ppp in spatial analysis
Hi,
i am using spatstat package for spatial data analysis and now i have a problem to create a point pattern. The points are in file "points.txt" (first column for Latitude and second column for Longitude ) and I imported them and separated each columns in two arrays x and y. If I plots x and y ( e.g plot(x,y) ) the result appears in square area without problems and the scale is adequate to visual analysis of points ploted. But if i try to use ppp function to create a point pattern the result app...
2009 Aug 25
2
latitude and longitude distribution
Good day to you all,
I have lightning data containing date, time, latitude and longitude. I hope
that distribution of latitude and longitude will give number of lightning
occurrence in a region. I have used factor function to sum up the number of
events on latitude and longitude axis and saved as x and y. But when I tried
to plot the two, I had and error message ( Error in image.defau...
2009 Jul 27
6
Superscripts and rounding
I am new to the world of R/programming so this may be a really easy question.
I thank you for your patience and help in advance
I would like the characters km^2 to be displayed on the plot subtitle as km
squared - two as a superscript.
I would also like to have the numbers from the data set for longitude and
latitude to be rounded to four decimal places.
Thank you.
plot (
decade[['date']],
decade[['value']],
type = 'l',
col = 'lightsteelblue4',
ylab = 'Discharge [cms]',
main = sprintf('%s [%s]', stn[['metadata']][['name'...
2002 Oct 02
6
help to make a map on R
Hi all,
I need a little help for construct an state's map on R.
The first problem is to get the data.
I have a datafile of longitude and latitude in the follow format:
trajectory latitude longtude
T -22.045618 -51.287056
T -22.067078 -51.265888
T -22.067039 -51.207249
T -22.059690 -48.089695
T -22.075529 -48.074608
T -22.072460 -48.044472
T -22.062767 -48.298473
T -22.077349 -48.322140
T -22.047001 -48.347443
T -22...
2012 Sep 24
2
Latitude Longitude to SPDF
Hi Team,
Need your guidance in building SPDF objects from Latitude, Longitude
Information available.
I am using package "plotGoogleMaps" which is really awesome but it requires
SPDF objects to build the maps.
I have a data frame which have Latitude and Longitude information and
wanted to convert it in SPDF for making maps.
Please help me to find suitable package...
2013 Jan 21
2
Regex for ^ (the caret symbol)?
Hello R-helpers,
I am trying to search for string that includes the caret symbol, using the
following code:
grepl("latitude^2",temp)
And R doesn't like that. It gives me:
> temp<-c("latitude^2","latitude and latitude^2","longitude^2","longitude
and longitude^2")
> temp
[1] "latitude^2" "latitude and latitude^2" "longitude^2"
"longitude and longitude^2"
> grepl("latitude^2",temp)
[1] FALSE FALSE FALSE FALSE
I think this must...
2013 Apr 29
3
rbinding some elements from a list and obtain another list
...;
> f<-function(x){
+ for (i in seq(1,length(names(x)),2)){
+ aa[i]<-do.call(rbind,x[i:i+1])
+ list(aa[i])
+ }}
> bb<-f(mylist)
Mensajes de aviso perdidos
1: In aa[i] <- do.call(rbind, x[i:i + 1]) :
número de items para para sustituir no es un múltiplo de la longitud del
reemplazo
2: In aa[i] <- do.call(rbind, x[i:i + 1]) :
número de items para para sustituir no es un múltiplo de la longitud del
reemplazo
3: In aa[i] <- do.call(rbind, x[i:i + 1]) :
número de items para para sustituir no es un múltiplo de la longitud del
reemplazo
4: In aa[i] <...
2012 Feb 23
4
saving all data in r object
I have 100 data files, which contains very huge data sets of location
details ( e.g latitude, longitude, time, temp)
Now I would like to save the all data of these 100 files in r object, so I
can reload data any time.
* Every file has different length of data
latitude <- NULL
longitude <- NULL
time <- NULL
temp <- NULL
for ( i in 1:100) {
data<- re...
2009 Aug 17
3
Reshape package: Casting data to form a grid
Dear R Users,
I'm trying to use the 'cast' function in the 'reshape' package to convert column-format data to gridded-format data. A sample of my dataset is as follows:
head(finalframe)
Latitude Longitude Temperature OrigLat p-value Blaney
1 -90 -38.75 NA -87.75 17.10167 NA
2 -90 135.75 NA -87.75 17.10167 NA
3 -90 80.25 NA -87.75 17.10167 NA
4 -90 95.75 NA -87.75 17.10167 NA
5 -90 66.75 NA...
2009 Nov 20
1
problem selecting 330 to 30 longitude
Hello,
This is probably very simple but I am trying to select a region from the
OIv2 SST dataset that crosses 0 longitude. The longitude variable is
arranged from 0 to 360 and I get an error message when trying to go from 330
to 30 for example. The data are from a NOAA netCDF file.
*temp = open.ncdf("c:/documents and settings/theoni/desktop/sstoi_v2.nc")
print(temp)
y1 = get.var.ncdf( temp, "latitude&...
2010 Nov 19
2
Calculating distance between longitude,latitude of 2 points
Hi all,
I would like to know a way of calculating the distance between 2 points when
I already have the longitude and latitude of the points.
For example :
Point 1 : 52? 9'54.00"N 4?25'8.40"E
Point 2 : 52?27'46.80"N 4?33'18.00"E
Distance between point 1 and point in km ....
Is there any functions already available for this ?
Any help will be much appreciated!...
2012 Sep 19
2
Help reproducing a contour plot
...I am trying to reproduce this using R instead.
[image: Full-size image (38 K)]
I tried using the following code
*SChla <- read.csv("SM_Chla_data.csv")*
*Atlantis <- SChla[16:66,]*
*head(Atlantis)*
*
*
Seamount Station Depth Pico Nano Micro Total_Ch dbar Latitude
Longitud
16 Atlantis 1217 Surface 0.0639 0.1560 0.0398 0.2597 2.082 -32.71450
57.29733
17 Atlantis 1217 Shallow 0.0305 0.1250 0.0740 0.2295 24.524 -32.71450
57.29733
18 Atlantis 1217 Deep 0.1660 0.3560 0.0734 0.5954 49.573 -32.71450
57.29733
19 Atlantis 1217 Fmax 0.1740 0.5200 0....
2008 Jul 15
3
Melt (reshape) question
...60 rows of global population density
values, and hope to convert this to column format using the 'melt' command in the 'reshape' package. I'm not receiving
any errors as such, but when the code has finished running, my output
looks like this:
> head(PopDens.long)
Latitude Longitude PopDensity
1 -84.75 V1 0
2 -84.25 V1 0
3 -83.75 V1 0
4 -83.25 V1 0
5 -82.75 V1 0
6 -82.25 V1 0
> tail(PopDens.long)
Latitude Longitude PopDensity
232658 87.25 V720...
2004 Aug 22
1
latitude longitude data
...s made
in, I adjust the latitudinal coordinate using:
grd<-lm(lat~lon+Row,data)
data$lat<-predict(grd[,c("lon","Row")])
which adjusts the latitude pretty well when the rows
run East-West, but not at all when the rows run
North-South, and it doesn't adjust the longitude at
all.
Is there a better approach I could use to adjust both
longitude and latitude onto the nearest point in the
row, whatever the direction of the rows? In other
words, move the point onto the row in a direction that
is perpendicular to the row?
cheers,
Mikkel
2010 Jan 28
1
make a grid with longitude, latitude and bathymetry data
hi,
i have a longitude vector (x) a latitude vector (y) and a matrix of bathymetry (z) with the dimensions (x,y). I have already succeeded in plotting it with the image.plot (package 'field') and the contour functions.
But now, I want to make a grid in order to extract easily the bathymetry corresponding to a c...
2010 Nov 01
0
function: colvolve
Hi list,
I have a problem to solve which I believe I shoudl use the convolve to solve
it, but I could not figure out how to do it.
I got mydata, which is a dataframe which has 7 locations, each location has
a longitude,latitude and a value.
considering a step of 0.5 degree for longitudes and latitudes, I got 15
points for longitude and 15 points for latitude. Then
I created a grid, mygrid, which has 15 columns for longitudes and 15 rows
for latitudes.
Now I want to have a circle which moves from mygrid[1,1] (col...
2002 Mar 10
1
lattice library: xyplot and polygons
...lygons in panel graphs produced
by xyplot ? I made different trials (see below) with polygon() and
grid.polygon() but polygons are not drawn (probably for the same reason
that prevents the use of lines, points, etc. in xyplot panels).
Thanks in advance,
Renaud
> Water
id label longitude latitude
515 21 Zone inondable -14.91929 15.27983
516 21 Zone inondable -14.91803 15.27967
517 21 Zone inondable -14.91765 15.27990
518 21 Zone inondable -14.91722 15.28029
519 21 Zone inondable -14.91706 15.28061
520 21 Zone inondable -14.91672 15.28125
521 21 Zone inondable -14.915...