similar to: Filling polygons with points

Displaying 20 results from an estimated 3000 matches similar to: "Filling polygons with points"

2004 Sep 23
1
How to improve the quality of curve/line plots?
Dear list, I'm using the windows version of R. When plotting a curve or a line for time series with annual data , e. g. GDP growth 1991-2003, the line seems to exist of a lot of smaller lines. Printing the results the curves and lines seems to be "unclean" (because of using small resolution bitmaps?). Comparing the result of R with the same results of Excel the lines in excel seems
2004 Sep 24
5
AW: How to improve the quality of curve/line plots?
Thanks for the tip using a smoothing technique before plotiing in order to get a curve instead of a line connecting the observations. But that's not the solution for my main problem with the "unclean" line plot. In order to show my problem let's take this simple example: > xval <- c(1, 2, 3, 4, 5, 6, 7, 8) > yval <- c(10, 30, 40, 50, 70, 90, 100, 110) > plot
2002 Mar 19
0
RODC-Connection to more than one file
Hallo everyone! Has anyone an idee to get out data of more than one Excel-file via RODBC with one single sqlQuery-command? The RODBC-manual shows how the sql command shoot run, but every time I try, I got an error, that the ODBC-connection to one of the files was not successful. If I make a sqlQuery for only one file (e. g. in DatAllg.XLS without variables from DatBev.XLS / b. ...), the
2004 Dec 15
0
AW: Problem with German special characters
Dear Prof. Ripley, thanks for your help. Everything is working fine! With best regards Michael Wolf -----Urspr??ngliche Nachricht----- Von: Brian D Ripley [mailto:ripley at stats.ox.ac.uk] Gesendet: Mittwoch, 15. Dezember 2004 09:01 An: Wolf, Michael Betreff: Re: [R] Problem with German special characters Please do look in the list archives: this is a Windows bug worked around a while back.
2012 Jan 12
2
Points inside a polygon
I have a list of bounds for a series of polygons. I do understand the formula to determine whether point i is within polygon X (X[x1] < i[x] & X[x2] > i[x] & X[y1] < i[y] & X[y2] > i[y]), and I can apply this throughout the dataset. However, this naive algorithm doesn't scale very well. The data set contains 10,000 points consisting of (n,e) pairs where I'm
2006 Oct 10
5
read.table() and scientific notation
Dear all, I am having troubles importing values written as scientific notation using read.table(). I'm sure this is a frequent problem, as many people in my lab have this problem as well, so I'm sure that I just have troubles googling for the right solution. The problem is, that, given a file like that: a 1 2e-4 b 2 3e-8 ... the third column gets imported as a factor, or a string if I
2018 Mar 17
1
Hash Sum mismatch @ uni-muenster mirror
Hello everybody, for serveral hours we had "Had Sum mismatch" errors for the following packages from the mirror of U of M?nster -- r-project works fine as a temp. fallback: r-cran-cluster 2.0.6-2~stretchcran.0 r-cran-foreign 0.8.69-1~stretchcran.0 r-cran-kernsmooth 2.23-15-3~stretchcran.0 r-cran-class 7.3-14-2~stretchcran.0 r-cran-nnet 7.3-12-2~stretchcran.0 r-cran-spatial
2005 Dec 14
1
Looking for a sort of tapply() to data frames
Hi, I read about the by() function, but it does not seem to do the job I need. Here is the problem: Say - I have a data frame, with three columns. The first one contains strings that describe the data points, with repeats (for example, days of a week). The other two contain numbers. Something like that: Day val1 val2 Tue 1 2 Tue 2 8 Tue 3 5 Wed 1 2 Wed 1 8 etc. Now I would
2016 Jun 09
1
cumsum method in Math group
When running a = runif(10) class(a) = "foo" Math.foo = function(x, ...) { NextMethod(.Generic) } signif(a, 3) cumsum(a) I don't understand why cumsum strips the class, but signif does not. Both claim in the documentation that "These are generic functions: methods can be defined for them individually or via the ?Math? group generic." -- Edzer Pebesma Institute for
2012 Feb 03
3
SPATIAL QUESTION: HOW TO MAKE POLYGONS AROUND CLUSTERS OF POINTS AND EXTRACT AREAS AND COORDINATES OF THESE POLYGONS?
Imagine that I have a large number of points (given by coordinates x and y) that vary in density per space. For the purpose of demonstration it could be generated like this: s <- data.frame(x=runif(10000,0,900),y=runif(10000,0,900)); plot(s) I want to create polygons around the points where point density is greater than a selected threshold (for example, by using krieging or equivalent
2011 Sep 14
1
S4 method dispatch
List, In order to get rid of some old, unreadable S3 code in package sp, I'm trying to rewrite things using S4 methods. Somewhere I fail, and I cannot sort out why. In order to isolate the problem, I created two functions, doNothing<- and dosth, and both should do nothing. The issue is that in most cases they do nothing, but in some cases dosth(obj) changes the class of obj and breaks with
2008 Jun 24
3
heatmap and continuous variable
Dear All, I want to plot a heat map with annotated columns. Both functions heatmap (stats) and heatmap.2 (gplots) can plot a horizontal side bar that can be used to visualize a categorical variable. In addition to a categorical variable, I would like to visualize a continuous variable. This could be done by small bars, a curve or simply numbers above the columns. (The Sample names are already
2013 Sep 19
3
How do I ensure that the polygon in spatstat::owin(poly=<polygon>) does not have “negative area”
I am a new user of the R spatstat package and am having problems creating a polygonal observation window with owin(). Code follows: library("maps") library ("sp")` library("spatstat") mass.map <- map("state", "massachusetts:main", fill=T) # This returns a data frame includding x and y components that form a polygon of massachusetts mainland`
2006 Apr 25
1
Questions to RDCOMClient
Dear list members, I'm using R in connection with the RDCOMClient and Excel. The more I use the package, the more I'm fascinated of it. The possibilities of R can be brought together with the necessities of outputing my socio-economical research results in MS Office! But I have some special questions concering the use of RDCOMClient and perhaps you can help me solving them: 1. Problems
2019 Jun 04
2
MacOS parallel::makeCluster fails
Hi all, The call parallel::makeCluster(1L) hangs infinitely on my MacOS machine which seems to be already reported by some people (e.g., https://stat.ethz.ch/pipermail/r-devel/2018-February/075565.html). However, the solutions posted on SO, GH or R-devel do not work in my case. So far, I unsuccessfully tested ? 1. Couple of reboots 2. Adding 192.0.0.1 to /etc/hosts 3. Using R.app
2014 Nov 18
2
Windows 8.1 client not able to see and connect to samba server
Hi, I am using a samba server for file sharing in our companies IPv4 based LAN. The samba server is running as VM on a ubuntu 14.04 qemu/kvm host using ubuntu 14.04 as OS. I am using the lastet version available for samba: 4.1.6+dfsg-1ubuntu2.14.04.3 My Windows 7 and Windows 8.1 client are able to find the server and connect to the shares but the Windows 8.1 client of a colleague is not able to
2012 Nov 05
1
Problem with polygon vertices
I am building a mask with area.urb.sp.W <- as(area.urb.sp, "owin") and got the message Erro em owin(poly = opls) : Polygon data contain duplicated vertices, self-intersection and overlaps between polygons how can I solve this problem in R? many thanks IVAN [[alternative HTML version deleted]]
2019 Jul 12
1
MacOS parallel::makeCluster fails
Hi Thomas, thanks for your reply (and thanks for your patience...). I am now using the following minimal reprex: > library(parallel) > cl <- makeCluster(2L) I freshly started the machine and did not open any other app. Just R.app (3.6.1). After executing the second line of code, R seems to hang infinitely and does not respond. The R process itself uses almost no CPU. Unfortunately,
2008 Jan 28
2
basic spatial query
Hello; Please coud you advise me of a simple way to select points (x,y coordinates) that fall within a polygon. I've got a set of polygons, each one defined by an arbitrary number of points, and several points inside each polygon. I know this is simple with a GIS, but I'd rather do it inside R. Thanks and best regards, Javier -----
2017 Jun 01
3
[spatstat] Convert shapefile to pixel image
Dear all, I am currently working with the spatstat package, using windows and pixel images. First: My aim is to transform a shapefile (see attached) into a pixel image. My idea is to start transforming the shapefile into a Spatial Polygon file: x <- readShapeSpatial("200001441.shp") y <- as(x, "SpatialPolygons") z <- as.owin(y) Given z, I want to identify each