similar to: adding points to a point pattern

Displaying 20 results from an estimated 1000 matches similar to: "adding points to a point pattern"

2011 Dec 22
3
delete all columns with all values equal to zero
Hello all: I'm sure this is quite simple, but I tried several options and I still can't get I right. I've got a data.frame and I want to delete all columns of which the sum is zero. Any ideas? Thanks, Frederico Mestre [[alternative HTML version deleted]]
2012 Apr 10
2
Error: cannot allocate vector of size...
Hello: While running R doing the analysis of my data I (using packages such as BIOMOD or e1071) get the following error as a result of several of my analysis: Error: cannot allocate vector of size 998.5 Mb In addition: Warning messages: 1: In array(c(rep.int(c(1, numeric(n)), n - 1L), 1), d, dn) : Reached total allocation of 4095Mb: see help(memory.size) 2: In array(c(rep.int(c(1,
2015 Sep 29
1
Error possibly related with environments/namespace
Hello all, I've got a problem with a function in a R package I've developed (MetaLandSim). One of the outputs of my function is the plotting of four images (combining a graph and a map). This plotting is made in a graphical device, with the graph in one side and the map in the other. My function works perfectly fine until it has to plot the map. Then it stops and I get an error.
2012 Jul 30
1
cluster of points
Hello: What I want to do is quite simple, but I can't find a way. I have a data frame with several points (x and y coords). I want to add another column with cluster membership. For example aggregate all the points that stand within a distance of 40 from each other. I've tried using "nncluster" from the package nnclust, but the results are not correct, for some
2012 Jun 26
1
Compile C files
Hello: Sorry, this might look like a beginner question, but I'm just starting to work on the C and R interface. I'm trying to compile a C file (with a function) to load it to an R function but, in the command line I keep getting a lot of errors, like: "C:/Program~1/R/R-215~1.0/include/Rinternals.h:1066:1: error: expected declaration specifiers before 'SEXP'"
2007 Oct 03
2
Speeding up simulation of mean nearest neighbor distances
I've written the function below to simulate the mean 1st through nth nearest neighbor distances for a random spatial pattern using the functions nndist() and runifpoint() from spatsat. It works, but runs relatively slowly - would appreciate suggestions on how to speed up this function. Thanks. --Dale library(spatstat) sim.nth.mdist <- function(nth,nsim) { D <- matrix(ncol=nth,
2007 Oct 29
2
Changing size of lattice plot?
Hi I am having a bit of difficulty with changing the canvas size on a trellis/lattice plot. I am plotting two "cubes" of 3-dimensional random numbers, as follows: library(gsl) library(lattice) q <- qrng_alloc(type="sobol", 3) npoints <- 200 rs <- qrng_get(q,npoints) # Plot the normal variates in a 3-dim cube p1 <- cloud(rnorm(npoints) ~ rnorm(npoints) +
2013 Apr 30
1
Trabajar con un argumento opcional como escalar o vector.
Estimada Lista, Deseo aplicar una función a cada fila de un data frame con un argumento opcional. En la función orginal, el argumento opcional debería poder ser escalar o vector. Necesito definir una función 'aplicaratodasfilas' que llama a otra función 'atomica' que no admite vectores y que requiere también argumentos opcionales. Pongo un ejemplo: # Se aplica a cada fila.
2011 Apr 11
4
nndist R vs. ArcGIS
Can anyone tell me why I would get different average nearest neighbor values for the same set of coordinates between ArcGIS 10 and R? Sometimes the difference in distance is over 1.3 km. Alexis -- View this message in context: http://r.789695.n4.nabble.com/nndist-R-vs-ArcGIS-tp3442375p3442375.html Sent from the R help mailing list archive at Nabble.com.
2010 Jan 21
2
about loops
Hello ! I have a quick question about loops. For example, I have a 1 * 1 square and its inscribed circle tangent i, whose radius, of course, is also 1. The loop here is as the following: generate n points, say 5, in the square randomly repeatedly until we have five in total in the circle, then we stop, otherwise we continue. I do not know how ! Help me Please ~ Thank you very much for
2011 Dec 15
3
From Distance Matrix to 2D coordinates
Dear All, I am struggling with the following problem: I am given a NxN symmetric matrix P ( P[i,i]=0, i=1...N and P[i,j]>0 for i!=j) which stands for the relative distances of N points. I would like use it to get the coordinates of the N points in a 2D plane. Of course, the solution is not unique (given one solution, I can translate or rotate all the points by the same amount and generate
2012 Jun 20
1
nearest neighbours and their ID
Dear R users, I used nndist() to gain the distance of 2 nearest neighbours of the points in my dataset. Is there a way of getting the ID numbers of these nearest neighbours (along with their distances). The command I used: nn2 <- nndist(X2, k=1:2). This is the output of the nearest neighbour distances I got (the IDs of the given points are there but their IDs aren't). Any help or
2013 Apr 11
2
Encircle the closest points
Dear R-user, For the "matplot" of the following data drawn by >matplot(t, pch=1) structure(c(2372L, 2494L, 2170L, 2238L, 1918L, 715L, 1573L, 2437L, 2481L, 1881L, 440L, 2165L, 343L, 121L, 597L, 1163L, 1459L, 2093L, 1454L, 1761L, 1872L, 174L, 2040L, 552L, 1403L, 6381L, 1649L, 4136L, 4415L, 10650L, 12111L, 4397L, 9593L, 7040L, 3888L, 8340L, 11475L, 11413L, 3985L, 1077L, 7723L, 1392L,
2002 Jun 19
4
drawing ellipses
Hello again, First I want to thank all the people who answered my question about line width in graphs. I promise I will learn the 'par' help page by heart for the end of the month ! I now want to trace some ellipses to emphasize groups of data. I found how to trace circles with 'symbols()', but no ellipse. I'm planning on writing my own function based on
2006 Oct 27
2
DTMF detection problem in PABX trunk
Hi for all, i 've installed asterisk with isdn trunk with alcatel pabx. When alcatel users dial for external numbers, a channel on asterisk is allocated for dial. When we call to an number that is an IVR the digits isn't recognized by IVR. In sip.conf i putted dtmfmode as rfc... and info, inband is only for 64k codecs, and still don't work. How can i resolve this issue ?? Thanks.
2006 Nov 09
2
Alcatel trunk with asterisk problem on dialing digit-by-digit
Hi guys, I have an Alcatel 4200 with a ISDN board pluged in the asterisk server with TE110P. Input calls VOIP Proider ---> Asterisk ---> Alcatel Output Calls VOIP Proider <--- Asterisk <--- Alcatel In alcatel phones, users should dial 2 for take a line tone and can dial. At this point start my problems: 1. When users dial 2 on phone (alcatel) they don't received a dial tone,
2006 Jun 02
1
documentation bug as S-Plus catches up (PR#8933)
# R for Windows will not send your bug report automatically. # Please copy the bug report (after finishing it) to # your favorite email program and send it to # # r-bugs at r-project.org # ###################################################### The R documentation for "is.R" says "## 'which()' only exists in R:" This is no longer true. In S-Plus 8.0 >
2003 Mar 16
2
Login Script Doesn't
Hi, I've been trying to get the logon script to with in XP. This same logon script works in Win98. I finally discovered that it will work if I change logon drive = to logon drive = z: Now I'm really confused. The Netlogon is path is /home/samba and shared as \\server\netlogon. Z: is mapped as \\server\home\. This means the path to the logon script is Z:\samba\logon.bat Not
2006 May 17
2
checking package dependencies
Dear all, I seem to be unable to check a source package since I upgraded R to 2.3.0 (Ubuntu Linux 5.1). I get this: * checking package dependencies ... ERROR > tools:::.check_package_depends("/home/adi/Work/QCAGUI") I have even tried with R-patched, same result. My Renviron does specify the path to the installed packages (and all depending packages are installed):
2006 Mar 20
2
Tibia under wine
Hi folks!! I trying run Tibia (a rpg game by cipsoft) and its work fine, but without video aceleration, i already try cedega, crossover, wine and all failed. there any thing I can do to run 3D in tibia. I am using Slackware 10.2, with the latest wine, my video card is ATI 9200 SE tks for attention Ps. There arent a Tibia client for Linux -- Frederico Bertucci e-mail / msn: fred@netbil.com.br