search for: areapl

Displaying 7 results from an estimated 7 matches for "areapl".

Did you mean: areal
2010 Sep 06
1
calculating area between plot lines
...9;i',type="n") lines(probClass,prob1) lines(probClass,prob2) polygon(c(probClass,rev(probClass)),c(prob2,rev(prob1)),col="red",border=NA) Given that the total area of the plot is 1, how can I calculate the area between the plotted lines (red polygon)? I have only found the areapl function in the splancs package, but it doesn't work for self-intersecting polygons.. Any help will be gratefully received. Cheers, M?rcia
2006 Oct 23
1
calculate area of outer polygon
Dear all, Does anyone know of a function that calculates the area of the outer polygon constructed from a data frame with co-ordinates? For example, library(splancs) test = rbind(c(0,0), c(10,0),c(10,10),c(0,20)) plot(test) areapl(test) [1] 150 This is OK, but I want the same area to be returned (150) when adding yet another co-ordinate in the middle of the polygon: test = rbind(c(0,0), c(10,0),c(10,10),c(0,20),c(5,5)) plot(test) areapl(test) [1] 100 I have also tested area.owin() in library(spatstat) but the co-ordinates...
2002 Sep 06
1
Installing splancs_2.01-9 on Red Hat Linux 7.3
...M which Redhat requires for R and it works great, thanks very much. However, when I attempt to R CMD INSTALL splancs_2.01-9.tar.gz as root, I get the following error message during the install: [snip] g77 -fPIC -O2 -m486 -fno-strength-reduce -g -c weight.f -o weight.o gcc -shared -o splancs.so areapl.o cncvwt.o dokhat.o inpip.o ipippa.o iplace.o k12hat.o kernel3d.o khvc.o khvmat.o krnnrm.o krnqne.o krnqrt.o nndist.o plarea.o ptinpoly.o sekhat.o sort2.o sort.o stkhat.o stsecal.o tribble.o twodimmse.o weight.o -L/usr/local/lib -L/usr/lib/gcc-lib/i386-redhat-linux/2.96 -L/usr/lib/gcc-lib/i386-re...
2002 Jan 15
0
errors intalling splancs and sgeostat
...or for splancs and sgeostat. Trying to install them 'manually' with R CMD INSTALL, I got the following errors. 1) for splancs: Tue<15:26>library[82]#R CMD INSTALL splancs_2.01-5.tar.gz Installing *source* package `splancs' ... libs f95 -PIC -xO5 -dalign -xlic_lib=sunperf -c areapl.f -o areapl.o f95 -PIC -xO5 -dalign -xlic_lib=sunperf -c cncvwt.f -o cncvwt.o f95 -PIC -xO5 -dalign -xlic_lib=sunperf -c dokhat.f -o dokhat.o f95 -PIC -xO5 -dalign -xlic_lib=sunperf -c inpip.f -o inpip.o f95 -PIC -xO5 -dalign -xlic_lib=sunperf -c ipippa.f -o ipippa.o f95 -PIC -xO5 -d...
2003 Mar 19
2
Center of Closed Contour
I am searching for a utility in R which will determine the mean location of a closed contour and eventually record the location in an ASCII file. By means of the contour utility in R, I am able to produce an image of a contour, but I am seeking a procedure which will produce the coordinates of the center of mass of the contour. From my actual set of data, the contour utility will produce several
2004 Sep 22
2
dot density maps
Dear All, In the moment i'm using the map and maptools package to read shapefiles and display the maps. I'm looking for the possibility to draw points (randomly positioned or positioned according to a grid) into the polygons instead of filling the polygons with colors. For example: a map (shapefile) with 10 countries, 15 points in the polygon of country A, 20 points in the
2002 May 24
5
intersecting polygons and conversion from decimal degree to km
Dear all, 1. How can I compute the intersecting area between 2 polygons ? 2. I have polygons with coordinates in decimal degrees (i.e. 13 deg 30 min = 13.5 decimal degrees). I want to compute their area and get the results in square meters or square kiometers. Can anyone give me a conversion coefficient or a pointer where I can find this information (sorry for this off topic question) ? Thanks