search for: ternaryplot

Displaying 18 results from an estimated 18 matches for "ternaryplot".

2008 Jul 03
1
Ternaryplot function
I am new to R, so this is most likely a dumb question. I just installed the vcb package, but when I try to use a function from it (ternaryplot) I get an error message saying 'could not find function: ternaryplot'. I'm pretty confident that my script is correct, so I'm assuming that I did not properly install the package. Is there another step past downloading, and selecting 'install packages from zip file' in the...
2012 Apr 20
1
Ternaryplot as an inset graph
...an plotting as an inset. Here is a simple version of what I'm trying. Note that if I change the inset plot to be an ordinary scatter, for instance, it works as expected. library(ade4) library(vcd) tdat <- data.frame(x=runif(20), y=rlnorm(20), z=rlnorm(20)) insetPlot <- function(data){ ternaryplot(data) } ternaryplot(tdat) add.scatter(insetPlot(tdat), posi="topleft", ratio=.2) Thanks very much, Jennifer Young Fisheries and Oceans Canada Jennifer.Young@dfo-mpo.gc.ca [[alternative HTML version deleted]]
2006 Jun 16
1
Change the range of a 'ternaryplot'
Hi all Does someone know how can I alter the range of some variables in a 'ternaryplot' of the 'vcd' package, with the aim of make a zoom in some region of the plot? Thank you in advance Sincerely, Juan Carlos =================================== Juan Carlos Mart?nez Ovando Banco de M?xico Direcci?n General de Investigaci?n Econ?mica Cinco de Mayo No. 18, 4? Piso...
2006 Jun 16
1
doubt concerning a closed visualization of a ternaryplot
Hi all Does someone know how can I alter the range of some variables in a 'ternaryplot' of the 'vcd' package, with the aim of make a closed visualization of some of its regions? Thank you in advance Sincerely, Juan Carlos "2006, A?o del Bicentenario del natalicio del Benem?rito de las Am?ricas, Don Benito Ju?rez Garc?a".
2012 Jun 05
2
par and complex graph
Dear R-Users, I'd like to have some tips about printing graph. I use the command par to print more graphs in one window:par(mfrow=c(6,1)); par(oma=c(2.5, 2.5, 2.5, 2.5)); par(mar=c(0.5,4, 0.5, 0.5)) But this command doesn't run with complex graphic command (i.e. xyplot, ternaryplot).How can I print more than one graph per page, when I work with this "elaborated" graph?Many thanks!Francesco [[alternative HTML version deleted]]
2012 Jun 04
1
Ternary plot and filled contour
Dear R-Users, I'd like to have some tips for a ternaryplot ("vcd"). I have this dataframe: a<- c (0.1, 0.5, 0.5, 0.6, 0.2, 0, 0, 0.004166667, 0.45) b<- c (0.75,0.5,0,0.1,0.2,0.951612903,0.918103448,0.7875,0.45) c<- c (0.15,0,0.5,0.3,0.6,0.048387097,0.081896552,0.208333333,0.1) d<- c (500,2324.90,2551.44,1244.50, 551.22,...
2007 Jun 18
4
triangle contour plots
Suppose I have three numbers p1, p2, p3 with 0 <= p1,p2,p3 <= 1 and p1+p2+p3=1, and a function f=f(p1,p2,p3) = f(p1,p2,1-p1-p2). How to draw a contour plot of f() on the p1+p2+p3=1 plane, that is, an equilateral triangle? Functions triplot(), triangle.plot(), and ternaryplot() give only scatterplots, AFAICS -- Robin Hankin Uncertainty Analyst National Oceanography Centre, Southampton European Way, Southampton SO14 3ZH, UK tel 023-8059-7743
2011 Jun 07
3
Representacion gráfica de 8 categorías
Hola, Estoy buscando una representación gráfica similar a la que da: ternatyplot del paquete vcd : data(Lifeboats) attach(Lifeboats) ternaryplot( Lifeboats[,4:6], pch = ifelse(side=="Port", 1, 19), col = ifelse(side=="Port", "red", "blue"), id = ifelse(men/total > 0.1, as.character(boat), NA), main = "Lifeboats on Titanic" ) Pero con mas de 3 etiquetas, hasta 8. ¿ Conocéis a...
2010 Feb 16
3
Triangular filled contour plot
Hi all, I am working on a filled contour plot which shows a triangular matrix data set (as shown below). Is there a possibilty to draw a triangular filled contour in a equilateral triangle (like a ternary plot)? Thanks in advance Johannes http://n4.nabble.com/file/n1557386/Bild3.png -- View this message in context: http://n4.nabble.com/Triangular-filled-contour-plot-tp1557386p1557386.html
2005 May 27
3
Soil texture triangle in R?
Dear R users, has anybody made an attempt to create the soil texture triangle graph in R? For an example see here: http://www.teachingkate.org/images/soiltria.gif I would like to get the lines in black and texture labels in gray to allow for plotting my texture results on top. Any examples or suggestions are very welcome! Thanks in advance, Sander. --
2005 May 25
1
Ternary Plots with continuous data
Hello I have a data base consisting of soil parameters, and tree species densities. The vcd (visualizing categorical data) package includes the ternaryplot function which plots the gravitation center of 3 prameters. I'd like to find a similar function for use with continuous data rather than categorical. Does anyone know of a function suitable for this objective? Thanks Steve Friedman
2008 Sep 04
1
A ternary graph's scales
Hi all, I am drawing a ternary graph. Everything is fine with both ternaryplot (package vcd) and triangle.plot (package ade4), but I want to present scales in neither percents nor from 0 to 1 (this is actually the only option I found in both functions). I want the scales to be in a natural scale (from 0 to k, k being the number of objects). Is it at all possible? (Description...
2003 Sep 05
0
Finding periods, sort of.
...lt; L)) lo <- lo[(bw+1):nf] - lo[1:(nf-bw)] md <- cumsum(v * (f >= L & f <= U)) md <- md[(bw+1):nf] - md[1:(nf-bw)] hi <- cumsum(v * (f > U)) hi <- hi[(bw+1):nf] - hi[1:(nf-bw)] cv <- cumsum(v) cv <- cv[(bw+1):nf] - cv[1:(nf-bw)] ternaryplot(cbind(lo=lo/cv, md=md/cv, hi=hi/cv), lty=1) } produces different-looking ternary diagrams for different pieces, which is good, because my student and I are looking for ways to disriminate pieces. Of course, these diagrams, by design, leave out the time element entirely. (I do hope that nobody h...
2003 Oct 07
1
persp or scatterplot3d?
Hello, I have three x-y plots whose interesting data occurs at the same time. When I place them in the same plot, they tend to obscure each other. I was hoping to use persp or scatterplot3d to plot them 3-dimensionally, so that the plot is visually useful. My data is simple: x, for all three data sets, is a set of 885 ISOdates, where x <- x0 + seq(1, 885). y is the value of "io",
2003 Jul 15
2
R, geochemistry, ternary diagrams
I'm in e-mail contact with a geochemist who maintains a well regarded geochemistry web site. He's drawing diagrams either with a Turbo Pascal program running in a DOS window or with Excel. I'm trying to persuade him that R would be a better choice. Something he's particularly keen on is ternary diagrams. I think he is talking about ternary phase diagrams, and if so, it looks as
2008 Jun 09
3
piper diagram
Hi, Is anyone on the list familiar with an R implementation of Piper Diagrams? Example: http://faculty.uml.edu/nelson_eby/89.315/IMAGES/Figure%209-78.jpg I am thinking that two calls to triax.plot (plotrix) along with some kind of affine-transformed standard plot would do the trick. Not so sure about the final layout, or a nice generalized version for something like lattice. Cheers, Dylan
2008 Feb 21
2
triangle.plot - change the axes orientation
Hello, I need to chenge axes orirentation in triangle plot. (function triangle.plot in ade4 package) I want to plot elasticities of some species in demographic triangle, where axes values commnly increace "clockwise". If some better imangination is needed, see http://www.open.ac.uk/science/biosci/personalpages/j.silvertown/pdfs/Silvertown%20et%20al.%201993.pdf I am sorry if I just
2006 Apr 03
2
Ternary or Triangular Plots (soil texture triangle plot)?
Hi, I am trying to create a triangular plot to show the 'composition' of a set of items with three variables (historically the percent sand, silt and clay in soil). So far I have tried the 'soil texture triangle plot' in the package plotrix and the 'ternary or triangular plots' in the package cwhtool (cwhmisc). Both have strengths and weaknesses, but neither has a