similar to: contours/density lines in sm library

Displaying 20 results from an estimated 3000 matches similar to: "contours/density lines in sm library"

2000 Jun 13
0
contours/density lines in sm library-more details
> > (Um. So what device were you using?) In terms of hardware, I'm using a Dell Latitude CPx (not quite sure on the RAM, but the hard disk is 2GB and the server its linked to is much larger...I'm running on the unit's hard drive though). The printer is an EPSON LP-9300. I'm printing directly from the window one gets in R by typing plot(...). Another quick note, its
2008 Sep 15
1
How to plot contours for joint density of 2 independently distributed r.v.?
X and Y are independently distributed random variables. I would like to study the contours of the joint density of these two variables. Any function to call? Thank you very much! -- View this message in context: http://www.nabble.com/How-to-plot-contours-for-joint-density-of-2-independently-distributed-r.v.--tp19493126p19493126.html Sent from the R help mailing list archive at Nabble.com.
2012 Mar 25
0
sm.density kernel estimation for points
Hi! I have two dimensional dataset which has and I need to decide if a point lies in some "confidence level". If a point has low confidence/density it can be anomaly which I need to find. For example: #load library library(sm) #get some data x.locs = c(74, 74.5, 75, 77,74.5) y.locs = c(64, 63.5, 63, 61,61.5) points = cbind(x.locs, y.locs) #plot it plot(points) #get points density
2003 Jul 27
1
contourplot:how to get it to label all contours like 'contour'
Hi, one of the nice things about contour is that it labels all contour lines. contourplot only labels each particular elevation a single time. i.e., if there are two contour lines corresponding to z = 45, it will only label one of them. is there a way to get contourplot to automatically label all the contour lines, even those that are repeated? i ask because i want to plot contour plots *w/
2009 Apr 08
1
vectors on top of contours, and lattice
OK, I needed to plot a set of vectors on top of a contour plot. I figured out a way to do this. I create a panel function that calls "larrows()" with arguments constructed from my vector data. Then, when I go to do the contour plot, I call contourplot() with the "panel" argument set to point to my newly created panel function. So far, so good. Now, I need to do a
2010 Feb 20
1
Add lines (contours) to lattice wireframe plot
Hi, I draw a surface corresponding to bivariate density of independent variables (rho=0) using persp(). Then I add a contour line (i.e., circle in my case) at a particular density. Below is a minimal example of what I have so far. # Bivariate density dnorm2d <- function(x, y, rho = 0) { xoy = (x^2 - 2 * rho * x * y + y^2)/(2 * (1 - rho^2)) density = exp(-xoy)/(2 * pi * sqrt(1 - rho^2))
2000 Jun 26
2
Chi-square tests in R 1.1.0
Hi, I'm running R 1.1.0 for Windows NT on a Dell Latitude laptop with 128 MB of RAM. In the previous version of R (1010) there was the ctest library and a few other functions to do a variety of chi-square tests in R. Have those been deleted in the current version (1.1), or do they just go by a different name in a different library? I originally downloaded (R 1.1) from Prof. Ripley's
2009 Feb 06
2
annotating a filled contours plot with a grid of points
Dear R-help members, I am trying to plot annotate a filled contours plot (with filled.contour) with a grid of points. I have read ways of annotating it with individual points but not with grids in another matrix. Any ideas? Thank you very much. Dario ___________________________________ Dario Martin-Benito CIFOR-INIA Dpto. Sistemas y Recursos
2003 Jun 18
3
finding contours in a matrix
Hi, I have matrix of sea bottom depths that I am plotting in R with the function 'image'. I am particularly interested in the 200m depth contour (I'm using 'distance from this feature' as a covariate in a model) and would like to extract the data at evenly spaced points along it. I can easily superimpose a line at 200m using the function 'contour'. What I want to
2010 Sep 13
1
Dampening the spline interpolation for contours
Hello all, I'm very new to R and am having some trouble with the results of the interp function. I'm trying to produce a chart roughly akin to a weather map with natural looking filled contours over a large region of the south pacific. I've got a list of points and values to be mapped to those points and I use the interp function as follows: tab<-read.table("data.txt")
2011 Apr 15
1
Idetntifying nearest topographic contours to data points
Hi there, I have two data sets, one of locations at different elevations (x,y,z) and the other of points that make up topographic contours (also x,y,z). I have used: result<-apply(distppll(data2,cbind(topocon[-nrow(topocon),],topocon[-1,])),1,min) where 'data2' are my measurement coordinates (x, y) and 'topocon' are my topographic contours (x,y). While this gives me an output
2013 Jan 28
1
Adding 95% contours around scatterplot points with ggplot2
Hi all, I have been looking for means of add a contour around some points in a scatterplot as a means of representing the center of density for of the data. I'm imagining something like a 95% confidence estimate drawn around the data. So far I have found some code for drawing polygons around the data. These look nice, but in some cases the polygons are strongly influenced by outlying points.
2000 May 24
1
Problem w/cygwin1.1 (maybe)
I am using rw1001 on Windows 98. I have a package that involves both c and fortran code, which compiled successfully under cygnus b20.1 with Mummit Kahn''s port of gcc 2.95.2. I have upgraded to the new net release of cygwin (version 1.1, including the recent cygwin package upgrade to 1.1.1). Now when the dll for my package is being created, I get the string of errors like: [...] gcc
2003 Aug 12
0
Re: Bayesian stats
In addition to Gelman et al, there is also Jeff Gill's BAYESIAN METHODS FOR THE SOCIAL AND BEHAVIORAL SCIENCES with accompanying R/SPLUS code. You have to be careful though, at least in the first printing, it isn't always clear when the code is for R versus SPlus. The code is available on his web site at http://www.clas.ufl.edu/~jgill/ Best, MEH Mark Hall markhall at gol.com
2000 Jun 05
1
forcing graphs to all black ink
Is there an easy way, for MCLUST in particular, to force its graphical output to all black and not use colors to show the clusters/groups? It shows the groups quite nicely by using triangles, crosses, etc. Unfortunately, my printer doesn't convert reds and yellows too nicely and the result is a indistinct figure on the page. (Yes, I have access to a color printer but my intended publication
2002 Mar 02
1
query on lqs
Is there a way of getting a list of indices or something indicating which set of points lqs when doing a regression? The $bestone, seems to return only 2 pts. no matter how good or bad the fit. I checked the archive for the past few months, but didn't find anything. thanks in advance, Mark Hall -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help
2004 Jan 31
1
about contour - get contour coordinates - exclude area display
Dear all, I wonder about what could actually be possible with the function "contour": 1/ - the definition of contour lines is most often meaningless when the contours are drawn in areas where no real data points exist. It can however happen that irregular distributions lead to more or less irregular clouds of data points. Interpolations (eg: loess regression, GLM, etc...) are however
2004 Nov 04
1
Labelling contour lines
I am using contour to draw contour lines onto a photo (jpeg) of a leaf on a white background. I have two problems: 1) The contour gets plotted at right angles to the jpeg image. I guess this is a problem of referencing the start and end points of the image matrix but I can't see how to over come this other than loading in a second image that has been rotated 90 degrees and plotting the
2002 May 30
1
hclust.identify problem
Having some problems with using hclust.identify on my data, I revert to trying it out on the example in the help manual. My result is still the same (as with my own data): data(iris) hci <- hclust(dist(iris[,1:4])) plot(hci) testx<-identify.hclust(hci) Error in rect.hclust(x, k = k, x = x$x, cluster = cluster[, k - 1], border = "red") : k must be between 2 and 0
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