Displaying 20 results from an estimated 100 matches similar to: "triangle.plot - change the axes orientation"
2009 Jul 29
1
Showing time progression on (triangle) plots
Hi,
I have made some nice triangle plots showing the projected airborne,
landborne and oceanborne fraction of anthropogenic emitted carbon dioxide
at 10 year intervals for the next century.
Currently all ten points on my plot are identical so I can't distinguish
between them. I would like to be able to track the trend as the century
progresses.
How can I show the time progression on the
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,
2006 Jul 18
2
R-2.3.1.tar.gz does not contain VR bundle (PR#9084)
Full_Name: Jarno Tuimala
Version: 2.3.1
OS: Solaris / Linux
Submission from: (NULL) (193.166.2.98)
Today I downloaded the latest source code release R-2.3.1.tar.gz, and it seems
not to contain the VR bundle. After running ./configure I get the following
error message:
checking for recommended packages... ./src/library/Recommended/VR_*.tar.gz: No
such file or directory
no
configure: error: Some
2012 Nov 16
1
Code works, but not as function.
Hi,
I have some values in a list format generated by the following:
Path_Number <- 0010
ID.Path <- formatC(0001:Path_Number, width=4, flag=0) # Make vector of ID's.
No_of_Effectors <- sample(1:550, length(ID.Path), replace=TRUE) # Define Number of Effectors each individual gets.
Effectors <- split(sample(1:10000, sum(No_of_Effectors), replace=TRUE), rep(ID.Path, No_of_Effectors))
2013 Nov 24
4
[PATCH 1/3] lib: Further generalize iconv wrapper function.
---
lib/hivex-internal.h | 8 +++++---
lib/utf16.c | 11 +++++++----
2 files changed, 12 insertions(+), 7 deletions(-)
diff --git a/lib/hivex-internal.h b/lib/hivex-internal.h
index 4135f58..64fd49a 100644
--- a/lib/hivex-internal.h
+++ b/lib/hivex-internal.h
@@ -268,11 +268,13 @@ extern size_t * _hivex_return_offset_list (offset_list *list);
extern void _hivex_print_offset_list
2006 Jul 12
0
New R-Packages: Triangle and LHS
Two new packages have been added to CRAN.
The first is a simple package which provides the standard functions for
a triangle distribution (rtriangle, dtriangle, ptriangle, qtriangle).
The second package generates and augments Latin Hypercube Samples.
Functions for generating random and optimized designs are provided.
I look forward hearing your feedback and improving the documentation!
2006 Jul 12
0
New R-Packages: Triangle and LHS
Two new packages have been added to CRAN.
The first is a simple package which provides the standard functions for
a triangle distribution (rtriangle, dtriangle, ptriangle, qtriangle).
The second package generates and augments Latin Hypercube Samples.
Functions for generating random and optimized designs are provided.
I look forward hearing your feedback and improving the documentation!
2010 Sep 02
2
lower triangle of the correlation matrix with xtable
Dear all,
mydata<-data.frame(x1=c(1,4,6),x2=c(3,1,2),x3=c(2,1,3))
cor(mydata)
x1 x2 x3
x1 1.0000000 -0.5960396 0.3973597
x2 -0.5960396 1.0000000 0.5000000
x3 0.3973597 0.5000000 1.0000000
I wonder if it is possible to fill only lower triangle of this
correlation matrix? Using 'dist' doesn't seem to be useful as it doesnt
allow to convert this table
2011 Dec 28
1
Pascal's Triangle
Hello,
Looking to generate Pascal's triangle in R. How do I get started? Thanks,
--
Matilda Gogos
matildaelizabethv@gmail.com
[[alternative HTML version deleted]]
2004 May 19
1
avoiding rtp triangle
so, is it safe to put
canreinvite=yes
on a 7960? on a 1750? on a spa-x000? an xten?
how the heck do i find out other than the hard way?
randy
--
ps: pun intended
2002 Dec 20
1
lower triangle
Hi,
I want to compute the lower triangle of a square matrix (optionally, sans
diagonal). With for() loops I can do something like this:
## 5 by 5 matrix rtn
for (j in 1:5) {
for (k in 1:j) {
if (j != k) { ## optional
rtn[j, k] <- my.func(j, k)
}
}
}
I'd like to do this with apply(). Is there some way I can do this kind of
'short-circuit'?
Thanks,
Mark Wilkinson
2006 Jun 19
1
Plotting Upper triangle of Matrix with diagonal as the Base
Hi..
I a have a symmetric matrix to plot . I would like to plot only the Upper triangle but with the diagonal as the Base of the rectangle. Is there an easy way to do it.
Thanks.
Harsh
---------------------------------
[[alternative HTML version deleted]]
2007 Apr 23
1
how to convert the lower triangle of a matrix to a symmetricmatrix
Sorry if this answer was already given, or if I miss the point,
but did you have a look to "lowerTriangle" and "upperTriangle" functions
in the "gdata" package ?
# example
# A<-matrix(rnorm(9),3,3)
# B<-B<-matrix(NA,dim(A)[1],dim(A)[2])
# lowerTriangle(B)<-lowerTriangle(A)
# upperTriangle(B)<-lowerTriangle(A)
# diag(B)<-diag(A)
Hope this helps,
2008 Jun 09
1
Plot Coloured Triangle
Hi there,
I'd like to plot a triangle with each point having a certain color defined and
fill it with the interpolated values.
The following code shall represent somehow, three points with x,y, and the
"amount" of red for example...
point1 <- c(1.1, 1.7, 255)
point2 <- c(2.2, 1.5, 180)
point3 <- c(1.8, 2.2, 60)
can anybody give me a hint which methods to use to realize
2009 May 12
0
triangle.class pch per factor
Hello,
I am using triangle.class in ade4 package and a factor. I would like to use
this graphic parameter (pch) to set a different kind of point for each group
in my factor (lakes). I have tried pch=1:4, I guess it does what it is
supposed to do but not what I want. I can't use colors.
Thank you in advance,
--
View this message in context:
2010 Mar 12
3
how to plot only the upper triangle using the pairs function?
Hi,
I am trying to use function pairs to plot the scatterplot, but I only want
to keep the upper triangle, what's the argument to do this?
Thanks,
-Jack
[[alternative HTML version deleted]]
2006 Jun 27
3
how to rotate a triangle image(ZMAT) ?
Hello R users...
how to align this Zmat (triangle image) in X axis?
I would like that the triangle's base become in the X
axis and
the triangle's height become in the Y axis
Is there some trick for make this?
Thanks.
Cleber
######################## my test and try
f <- function(x,y){
z=1-x-y
z[ z < (-1e-15) ] <- NA
return( -100*x+0*y+100*z )
}
x = seq( 1, 0,
2010 Sep 01
2
diamond/triangle "plot"
Hi, does anyone have any idea how I might make a plot in R similar to this:
http://assets.sbnation.com/assets/272612/BATTER-1B-PENA.png
Specifically looking to plot 3 numbers in a triangle like that.
[[alternative HTML version deleted]]
2003 Mar 01
1
error message from gls(), unstructured in lower triangle, identical diagonal, help.
Hi, nlme users,
I am fitting a model for repeated measures, using
gls(). The var-cov structure is UNSTRUCTURED in lower
triangle and identical for the diagonal, for which I
still have no idea how to fit using PROC MIXED.
The error message is as follows:
Error in "coef<-.corNatural"(*tmp*, value =
log((cStNatPar + 1)/(1 - cStNatPar))) :
NA/NaN/Inf in foreign function call
2010 Jul 08
1
Data format question for triangle.plot package ade4
hello,
I am trying to develop a triangle plot but am having difficultly assigning
the row.names to the 3 columns in the data.frame
Here is what I've done,
attach(SoilVegHydro)
dim(SoilVegHydro)
1292 39
# now take 3 variables from main data.frame for plotting
dat <- cbind.data.frame(TP, meanAnnualDepthAve, BulkDensity) # These are
variables held in the data frame SoilVegHydro