Displaying 20 results from an estimated 77 matches for "chull".
Did you mean:
hull
2009 Mar 09
2
Chull function
Hi everyone,
Using a simulation, I have to find what are the probabilities that, in a square region, the convex hull is a triangle, using the "chull" function. However, I have a hard time with the chull function, i did not see many examples in which the chull function is used. I searched a long time on google, but I did not find nothing. So, if anyone can help,
Thanks!
____________________________________________________________...
2006 May 02
2
Concave Hull?
I am modeling a trend surface using trmat and want to trim the resulting matrix to the area enclosed by my real data (i.e., remove all the extrapolated areas). I was using chull and in.chull to calculate the convex hull and change all the other values created by trmat to NA. However, my real data has portions that are slightly concave so chull would give me slivers that are extrapolations from my data. Is there some other type of "chull" function that will allo...
1999 Apr 07
1
chull() wanted?
Hello!
Is there someone already working on an implementation of Splus'
chull() function for R?
If not, I would like volunteer to try it.
For my "Diplom" I implemented convex peeling in C (some time ago),
using an O(n log(n)) algorithm, so it probably will prove relatively easy to
use that code for a R-function.
Well, as least as easy as any programming tends to...
2006 Nov 15
0
segfault in AIX
...the last part of the make output:
-----
building package 'grDevices'
mkdir ../../../library/grDevices
mkdir ../../../library/grDevices/R
mkdir ../../../library/grDevices/po
mkdir ../../../library/grDevices/afm
mkdir ../../../library/grDevices/enc
mkdir ../../../library/grDevices/man
making chull.d from
/scratch/royh/src/bio/R/2.4.0p/src/src/library/grDevices/src/chull.c
making devNull.d from
/scratch/royh/src/bio/R/2.4.0p/src/src/library/grDevices/src/devNull.c
making devPicTeX.d from
/scratch/royh/src/bio/R/2.4.0p/src/src/library/grDevices/src/devPicTeX.c
making devPS.d from
/scratch/...
2007 Sep 07
1
Finding convex hull?
Dear UseRs,
I would like to know which function is the most efficient in finding
convex hull of points in 3(or 2)-dimensional case?
Functions for finding convex hull is the following:
convex.hull (tripack), chull (grDevices), in.chull (sgeostat),
convhulln (geometry), convexhull.xy (spatstat), calcConvexHull
(PBSmapping).
I also would like to know if there is a function that can be used for
finding convex hull in multi-dimensional case, that is more than 3-
dimension.
Thank you in advance.
2020 Jun 24
2
Problema con un loop for
...uot;frg","omn","bc","co","pr","gg","fg","mf","br","hc")
for(i in 1:length(predictores)){
windows()
partial(RFfit, pred.var = predictores[i], which.class = "Ard", plot = T,
prob = T, chull=T, type="classification",plot.engine = "ggplot2", rug=T)
}
Esto está, a su vez, dentro de otro loop con varias categorías, por lo que
al final son 36 gráficos, que debo hacer con distintos parámetros, por lo
que me sería muy útil solucionar el problema, que debe ser una chorr...
2002 Jan 08
3
write.table - format
Hello there
I ` m a newbie in R and have a question about the output of write.table
My command looks like this:
write.table(datatr$V1[data.chull],file="outr.txt", quote = FALSE, sep =
"\t")
In the outputfile (outr.txt) I have an "x" in the left corner and a new
row with numbers for each column(1,2,3...).
I just want the values in my file. What should I change in
write.table-command?
output now:
x
1 179.18143...
1999 Aug 30
1
convex hulls
Does anybody know if there are functions to:
1. Define a convex hull on a space with more
than 2 dimensions? chull just works for a plane.
2. Numerically select elements within a given complex
hull.
Thanks!
Dr. Agustin Lobo
Instituto de Ciencias de la Tierra (CSIC)
Lluis Sole Sabaris s/n
08028 Barcelona SPAIN
tel 34 93409 5410
fax 34 93411 0012
alobo at ija.csic.es
http://pangea.ija.csic.es/alobo
-.-.-...
2001 Sep 22
2
Finding a 3D convex hull in R
...trying to use discriminant analysis or other methods to classify these
neurons based on morphological variables such as total tree length, segment
number etc.
I would like to calculate a 3D convex hull for a set of X,Y,Z data points
which define the tips of my neurons. I have found the R function chull
which finds a 2D convex hull, but not have found any 3D routines. I
wondered if there were any packages / publicly available code I could use.
Having found the convex hull, it would be handy if there were also functions
to find the centroid, volume etc. I've only been using R for 10 days and...
2011 Feb 21
2
(no subject)
What is plot.new? and how can i get it to work so i can load other data?
> library(splancs)
> area = 6*4
> lambda = 1.5
> N = rpois(1,lambda*area)
> u = runif(N,-2,4)
> v = runif(N,0,4)
> plot(u,v,asp=1)
> h = chull(u,v)
> h = c(h,h[1])
> plot(u[h],v[h],"1",asp=1)
Error in plot.xy(xy, type, ...) : invalid plot type '1'
> plot(u[h],v[h],"l",asp=1)
> points(u,v)
Error in plot.xy(xy.coords(x, y), type = type, ...) :
plot.new has not been called yet
> pts=as.points(u,v)...
2009 Jan 17
2
Concave Hull
Dear Friends,
Here is an algorithm for finding concave hulls: http://get.dsi.uminho.pt/local/
Has anyone implemented such an algorithm in R?
RSiteSearch('concave hull') didn't reveal one (I think).
_____________________________
Professor Michael Kubovy
University of Virginia
Department of Psychology
Postal Address:
P.O.Box 400400, Charlottesville, VA 22904-4400
Express Parcels
2007 Mar 24
2
sampling from the unoform distrubuton over a convex hull
Dear list,
Does anyone have a suggestion (or better still) code for sampling from the uniform distribution over the convex hull of a set of points?
Many thanks and best wishes,
Ranjan
2001 Dec 10
1
high dimensional convex hull
Does anyone know of a R package that will determine the convex hull of a
high-dimensional dataset (say 4-10 dimensions). I know chull works for
2D data.
I'm neophyte to R and convex hulls so please keep it simple.
Many thanks
Ben
--
Ben Stapley.
Biomolecular Sciences, UMIST, PO Box 88, Manchester M60 1QD.
Tel 0161 200 5818
Fax 0161 236 0409
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-...
2008 Aug 12
1
Geodata object border
Sorry, this is probably quite an easy question, but I'm new to R and couldn't
find the answer anywhere.
I'm using geoR and geoRglm, but can't figure out how to get a border in my
geodata object. Does this need to be defined when I'm importing my data, or
afterwards, and how do I go about doing this?
Thanks
--
View this message in context:
2012 Sep 15
1
Error when using Bagplot function
Hi, I am using the bagplot function within the aplpack package and often get
this error:
Error in chull(pg[, 1], pg[, 2]) :
NA/NaN/Inf in foreign function call (arg 2)
Here's an example of data for which this happens:
bagplot(c(-4.66, -2.62, -3.65 ,-3.07 ,-4.91, -4.56 ,-3.79, -3.10, -3.01),
c(2.14, -7.18, -0.15 , 2.67, -2.49, -0.89 , 0.96 , 0.59, -4.59))
Can anyone help?
--
Vie...
1997 Aug 25
0
R-alpha: `missing' BB functions
Here are the functions documented in the Blue Book that I found missing
in R (ignoring the ones which are obviously outdated).
aggregate allocated amatch axes chull clorder cutree cycle date
debugger dget discr faces interp l1fit labclust lag loglin
monthplot mstree mulbar napsack odometer persp plclust plotfit
rep.int restore rreg sabl sablplot set.seed smooth sort.list
Stable stars starsymb storage subtree symbols tempfile tslines
tsmatrix tsplot tspoin...
2007 Jul 16
1
Problem building R with Sun Studio Compiler
....sun.com/sunstudio/index.jsp)
R builds and passes make check fine without optimising. However, when I try to compile with optimisation turned on
(-fast) the build gets stuck in an infinite loop at the following point:
Sun_Studio/sunstudio12/bin/cc -m64 -shared -Kpic -m64 -fPIC -o grDevices.so chull.o devNull.o devPicTeX.o devPS.o
devQuartz.o init.o
mkdir -p -- ../../../../library/grDevices/libs
make[5]: Leaving directory `/export/home/leonardz/ccb/HPF/support/R-2.5.1/ss12/R-2.5.1/src/library/grDevices/src'
make[4]: Leaving directory `/export/home/leonardz/ccb/HPF/support/R-2.5.1/ss12/R-2....
2001 Jan 25
1
problems compiling R under digital unix 4.0d (PR#826)
...ring 'make' I receive
the following error-message:
[......]
g77 -mieee -g -O2 -c dtrco.f -o dtrco.o
g77 -mieee -g -O2 -c dtrsl.f -o dtrsl.o
g77 -mieee -g -O2 -c eigen.f -o eigen.o
g77 -mieee -g -O2 -c lminfl.f -o lminfl.o
ar cr libappl.a Rsock.o approx.o bakslv.o binning.o chisqsim.o chull.o
cpoly.o cumsum.o distance.o fft.o fmin.o fortran.o lbfgsb.o loglin.o
lowess.o machar.o maxcol.o massdist.o pretty.o rowsum.o sock.o
splines.o stem.o strsignif.o tabulate.o uncmin.o zeroin.o ch2inv.o
chol.o dpbfa.o dpbsl.o dpoco.o dpodi.o dpofa.o dposl.o dqrdc.o dqrdc2.o
dqrls.o dqrsl....
2007 Jun 25
1
R-2.5.0 compilation problem on Linux powerpc
Hello everybody,I am having an error while compiling R-2.5.0 on Linux
powerpc.
This is what I see when I do a make:
gcc -std=gnu99 -shared -L/usr/local/lib -o grDevices.so chull.o devNull.o
devPicTeX.o devPS.o devQuartz.o init.o
../../../../library/grDevices/libs/grDevices.so is unchanged
make[5]: Leaving directory
`/home/vivekv/sw_alg/R-2.5.0/src/library/grDevices/src'
make[4]: Leaving directory `/home/vivekv/sw_alg/R-2.5.0
/src/library/grDevices/src'
Warning: un...
2009 Nov 24
2
convex hull for cluster analysis
Dear R gurus and users,
I seem to have problem finding the right tool for plotting convex hulls over
2D plots, after a cluster analysis. In fact I would like to draw a convex hull
in 2D for a generic group of points. I found a "convhulln", but this doesn't seem
to give me a convex hull. Here is what I do:
> library(mvtnorm)
> Mean <- c(2,1)
> Sigma <-