search for: ternary

Displaying 20 results from an estimated 97 matches for "ternary".

2011 Feb 15
1
ternary contour plot
Colin, If your propose is to create a ternary plot with points and vectors, I think easier do this with graphics based plots instead of trellis based plots. Although, with little work you can do with trellis too. I gave you a reproducible code to put an arrow in a ternary plot. I use the function locator() to extract coordinates. The code is t...
2003 Jul 15
2
R, geochemistry, ternary diagrams
...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 though it should be doable in R, but I don't know enough about the lower levels of R graphics to do it myself (yet). Looking at his speed and volume requirements, R can handle them easily, even on a machine a...
2010 Jul 20
2
[LLVMdev] [cfe-dev] conditional operator
Hello Jochen- Your expectation is incorrect, I'm afraid. Typically this would be expanded to something like this: … %cmp = … br i1 %cmp, label %ternary.true, label %ternary.false ternary.true: %truevalue = … br label %ternary.end ternary.false: %falsevalue = … br label %ternary.end ternary.end: %value = phi %type [%truevalue, %ternary.true], [%falsevalue, %ternary.false] This may then be optimised to a select by later passes, if it...
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 'standard' or 'generic' feel about it. To save myself time I would like to ask the list if there is a preferred or standard implementation of the triangle plot that...
2001 Mar 19
2
Ternary plots
********************************************************** ** Dr. David Lucy ** ** Centre for Forensic Statistics and Legal Reasoning ** ** Department of Mathematics and Statistics ** ** The University of Edinburgh ** ** James Clerk Maxwell Building ** ** King's Buildings
2008 Jul 11
1
Plot multiple datasets on a VCD ternary graph
I need to plot multiple sets of data, on one Ternary plot (from the VCD package). Since they all need to be formatted differently, I can't just coerce them into one matrix, I need three separate calls. Is there a way to do this? Thanks -- View this message in context: http://www.nabble.com/Plot-multiple-datasets-on-a-VCD-ternary-graph-tp18412...
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...
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...
2020 Sep 22
1
[PATCH] kernel/resource: Fix use of ternary condition in release_mem_region_adjustable
...st new_res = alloc_resource(GFP_KERNEL | alloc_nofail ? __GFP_NOFAIL : 0); ^ ( ) 1 warning generated. Add the parentheses as it was clearly intended for the ternary condition to be evaluated first. Fixes: 5fd23bd0d739 ("kernel/resource: make release_mem_region_adjustable() never fail") Link: https://github.com/ClangBuiltLinux/linux/issues/1159 Signed-off-by: Nathan Chancellor <natechancellor at gmail.com> --- Presumably, this will be squashed...
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
2014 Oct 14
2
Ternary Plots Do Not Display Ellipses in PDF
A rather strange situation here and I've not found the source of the problem. The point is to print a ternary plot matrix of compositional data with ellipses enclosing 95% of the variance in each plot. The ellipses display on the monitor, dev = x11cairo (see attached winters-x11cairo.pdf), but not when sent directly to a file, dev = pdf (see attached winters-pdf.pdf). Here's winters.acomp: structu...
2010 May 14
1
point.in.polygon() in sp package: accuracy problems?
...hether some points lye inside, outside, on the border or on a vertice of a polygon. I have a list of point I know should lye right on the border of a polygon, but some of them are not classified as such by point.in.polygon() (see the example code below). To make a long story short I am working on ternary variables that sum to 100% (soil texture data), that can be plotted on a ternary diagram (soil texture diagram) & classified according to subdivisions of the diagram (soil texture class). For a given data point, when one or more of the the 3 variable is equal to 0, and when their sum is 100%, I...
2012 Apr 20
1
Ternaryplot as an inset graph
Hello I am trying to add a ternary plot as a corner inset graph to a larger main ternary plot. I have successfully used add.scatter in the past for different kinds of plots but It doesn't seem to work for this particular function. It overlays the old plot rather than plotting as an inset. Here is a simple version of what I'...
2006 Apr 08
5
If-Else Conditionals in Views
I find myself doing the following quite a lot: <% if user %><%= user.name %><% else %>Anonymous<% end %> I know that if I dont care about an else I can just do: <%= user.name if user %> Is there any simpler way to handle the else? This is a simple example so it''s not really an issue.. but for more complicated tests this gets quite tedious. -- Posted
2005 Jan 21
4
which.pmin?
I have two vectors (k.floor and k.ceiling) of integers of the same length, and a function (fpr). b <- 10:40 k.floor <- floor(log(2) * b) k.ceiling <- ceiling(log(2) * b) fpr.floor <- fpr(b, k.floor) fpr.ceiling <- fpr(b, k.ceiling) If R had a element-wise ternary function, I'd like to do something like this: (fpr.floor < fpr.ceiling) ? k.floor : k.ceiling That is, I'd like to go through the two vectors in parallel, picking the one that returns the lower value of fpr. Failing to find such a function, I wrote the following two lines: in...
2018 Sep 26
2
[FPEnv] FNEG instruction
...> Oh, I see. So you're worried that an FNeg won't match the generic m_c_BinOp(...) as it does now. That's a reasonable concern. This is the first time I'm looking at foldShuffledBinop(...), so maybe a naive question, but why not do similar shuffle canonicalizations on unary (or ternary) operations? That may be a better fix in the long run. > But glancing at Reassociate.cpp is scarier. It does a lot of stuff like > this: > if (BinaryOperator::isNeg(TheOp) || BinaryOperator::isFNeg(TheOp)) > X = BinaryOperator::getNegArgument(TheOp); > > I think that...
2013 Aug 12
2
[LLVMdev] vector type legalization
...if the result is a legal type. But actually we want to continue and promote the elements of the vector. In other cases we may want to widen (to the next power of two) and later split in half because the vector is too big. Thanks for the tip. I modified WidenVecRes_Binary match WidenVecRes_{Unary/Ternary} and it does the promotion and generates much better code. Why is WidenVecRes_Binary so much more complicated than the Unary/Binary functions? None of the operations in the cases for WidenVecRes_Binary seem any more special then the operations that use WidenVecRes_Unary.. paul On Aug 12, 2013, a...
2013 Aug 12
0
[LLVMdev] vector type legalization
On Aug 12, 2013, at 1:47 PM, Redmond, Paul <paul.redmond at intel.com> wrote: > Thanks for the tip. I modified WidenVecRes_Binary match WidenVecRes_{Unary/Ternary} and it does the promotion and generates much better code. Why is WidenVecRes_Binary so much more complicated than the Unary/Binary functions? None of the operations in the cases for WidenVecRes_Binary seem any more special then the operations that use WidenVecRes_Unary.. I am not sure :) -------...
2001 Dec 03
1
Plotting in a traingle
Hello, I want to print points having value on 3 variables in a triangle (ternary diagram). How can I di this with R ? -- Cordialement ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~ Emmanuel POIZOT ~ CNAM/INTECHMER ~ B.P. 324 ~ 50103 CHERBOURG CEDEX ~ T?l : (33) 233 887 342 ~ Fax : (33) 233 887 339 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-....
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",