Displaying 20 results from an estimated 90 matches similar to: "error in trmesh (alphahull package)"
2006 Sep 07
2
merging tables by columns AND rows
Hi everyone!
I have 100 tables of the form:
XCOORD,YCOORD,OBSERVATION
27.47500,42.52641,177
27.48788,42.52641,177
27.50075,42.52641,179
27.51362,42.52641,178
27.52650,42.52641,180
27.53937,42.52641,178
27.55225,42.52641,181
27.56512,42.52641,177
27.57800,42.52641,181
27.59087,42.52641,181
27.60375,42.52641,180
27.61662,42.52641,181
..., ..., ...
with approximately 1000000 observations for each.
2012 Jul 19
1
[tripack] error in trmesh
I am trying to triangulate a point set as follows:
> head(cbind(x,y))
x y
[1,] -78.1444 -60.4424
[2,] -78.1444 -58.4424
[3,] -78.1444 -56.4424
[4,] -78.1444 -54.4424
[5,] -76.1444 -60.4424
[6,] -76.1444 -58.4424
> length(x)
[1] 5000
> tri <- tri.mesh(x, y)
Fehler in tri.mesh(x, y) : error in trmesh
> tri <- tri.mesh(x, y, "remove")
Fehler in tri.mesh(x, y,
2011 Aug 15
3
Plot from function
*I have the following function:*
/plot_mi_time = function(mdata, miname) {
mdata2 = mdata[row.names(hakat) == miname, ]
print(mdata2)
xcoords <- c(1,1,2,2,3,3,4,4,5,5,6,6)
plot(c(xcoords), mdata2, xaxt="n", ylab="Expression", xlab="Time(h)", ,
main=miname)
axis(1, at=xcoords,
2011 Jun 01
2
re-write plot function for ggplot
Hi, I have the following function that i use to plot graphs.
plot_mi_time = function(mdata, miname) {
mdata2 = mdata[row.names(mir_test3) == miname, ]
# print(mdata2)
xcoords <- c(1,1,2,2,3,3)
plot(xcoords, mdata2, xaxt="n", ylab="Expression", xlab="Time(h)", ,
main=miname)
axis(1, at=xcoords,
2006 Jun 19
2
frechet distance
Hi, is there any package (or source code snippet) that will evaluate the
Frechet distance for curves represented as sets of points?
Searching around only threw up references to a Frechet distribution.
Thanks,
-------------------------------------------------------------------
Rajarshi Guha <rxg218 at psu.edu> <http://jijo.cjb.net>
GPG Fingerprint: 0CCA 8EE2 2EEB 25E2 AB04 06F7 1BB9
2010 Jun 02
2
Faster union of polygons?
Dear R-helpers,
thanks for yesterday's speeding-up tip. Here is my next query:
I have lots of polygons (not necessarily convex ones, and they never
have holes) given by x,y coordinates.
I want to get the polygon that is the union of these polygons. This is
my current method, but I am hoping there is a faster method (up to
thousands of polygons, each with ca. 40 xy points).
Example:
2009 Dec 30
1
UML Class and Object Diagrams in R
Hi all
Does anyone know if there are any R packages available for creating
UML class and object diagrams in R (suitable for use with Latex)?
I'm considering developing such a system...
Note, I'm aware there are Latex packages (so no one needs to state the obvious).
On a side issue I'm thinking about (mostly) abandoning the class
system I mentioned earlier. Thank you to Martin
2011 Feb 27
1
Plotting two lines on a graph when using par(mfrow=)
Basic question but still learning ....
How do I plot two lines (f$equity and f$bh.equity) on one of the three
graphs under mfrow ? I tried putting brackets around the first plot and
lines command but that didn't work.
par(mfrow=c(3,1))
{plot(f$Date,f$equity, col="blue", type="l", main="equity")
lines(f$bh.equity, col="gray")}
plot(f$Date,f$indicator,
2005 Nov 11
3
problems with for: warnings and segfault
Hi,
I have two problem with a for looping using R Version 2.1.1 (2005-06-20) on a
Debian Linux Testing.
The first problem: warnings messages
Look:
> xcoord <- 5
> ycoord <- 5
> indice <- 1
> for(i in c(1:5)) {indice <- indice+1;xcoord[indice] <- xcoord+i;
ycoord[indice] <- ycoord }
Warning messages:
1: number of items to replace is not a multiple of replacement
2008 Dec 15
1
Semi-random movement inside a circle
Dear list,
I am trying to program semi-random movement within a circle, with no particles leaving the circle. I would like them to bounce back when they come to close to the wall, but I don't seem to be able to get this right. Would somebody kindly give me a hint ? This is my code so far, the particle starts at some point and moves towards the wall, but I don't get the "bouncing
2008 Dec 15
1
Movement within a circle
Dear list,
?
I am trying to program semi-random movement within a circle, with no particles leaving the circle. I would like them to bounce back when they come to close to the wall, but?I don't seem to be able to get this right. ?Would somebody?be able to?give me a hint ? This is my code so far, the particle starts at some point and moves towards the wall, but I don't get the
2010 Jan 07
0
setting different environments
Hallo,
I have a set of S4 and S3 classes together in one script.
While running this script I create a lot of new functions and objects
An example for S3 and S4 classes:
## S3 classes
pt <- list(x=1,y=2)
class(pt) <- "xypoint"
xpos <- function(x, ...) UseMethod("xpos")
xpos.xypoint <- function(x) x$x
ypos <- function(x, ...) UseMethod("ypos")
2009 Oct 28
2
Re ading and Creating Shape Files
Hello R Community,
I have imported a dataset which contain X Y coordinates and would like to
recreate a shape file after some data analysis. What i have done is to
import some taxlot data and join them based on some criteria. I want to
check to see how well the joining went by reviewing the results in GIS.
A couple things. I cant seem to import a shape file correctly using the
maptools
2009 Dec 13
3
CRAN (and crantastic) updates this week
CRAN (and crantastic) updates this week
New packages
------------
* Bergm (1.0)
Alberto Caimo
http://crantastic.org/packages/Bergm
Functions implementing Bayesian estimation for exponential random
graph models via exchange algorithm
Updated packages
----------------
lmtest (0.9-26), logcondens (1.3.5), MTSKNN (0.0-4), pmml (1.2.21),
r2lUniv (0.9.4), rattle (2.5.11), rgdal (0.6-23),
2006 Oct 25
1
density plot text
Is there any way of adding text to a density plot? I have had a go using the
text() function but I think the error is because this function doesn't work
with densityplot().
Alternatively, I understand I can achieve pretty much the same result if I
plot a density kernel estimate using plot() (which allows text()), but I do
prefer densityplot().
Also, is it possible to specify the dimensions
2001 Feb 22
1
Graphical parameters in perspective plot
Hello,
I've a problem for setting graphical parameters in perspective plot
(function persp).
I wonder if it's possible to add some text (function text) on an
existing persp plot USING the axis coordinates.
In fact I want to add some text on a persp plot according to x
coordinates.
I've tried to use text(xcoord,ycoord, label="toto") but the toto text
doesn't appear at
2006 Sep 21
2
Probe description does not match any probes
[Perhaps someone could rename this list to dtrace-matt-problems-discuss?]
If I run this script against my binary (which contains a USDT probe called ''concurrentq-latency''):
:::
/ probename == "concurrentq-latency" /
{
printf("[%s]:[%s]:[%s]\n", probeprov, probefunc, probename);
}
I get this output:
dtrace: script ''testq.d'' matched 46056
2012 Mar 20
3
error message
Dear all,
Who will bail me out. Iam using R with S-Splancs. Anytime i typed in the syntex, an error will appear eg setwd("C:\\TEMP)
>dat <- read.table(cheshire_fmd.cvs",header=TRUE, sep=",")
> dat.<-read.table(''chesire_fmd.cvs'',header=TRUE,sep='',)
Error: unexpected symbol in "dat.<-read.table(''chesire_fmd.cvs"
>
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
2009 Mar 01
1
projecting GIS coordinates for analysis with spatstat package
I am working on creating an R package for doing fire department analysis and
am trying to create a function that can display emergency incident
densities. The following code sort of does the trick, but I need a display
that shows the number of incidents per square mile. I believe the code
below shows incidents per square unit (in this case, degrees lat/long).
To solve this problem, I believe