search for: yz

Displaying 20 results from an estimated 82 matches for "yz".

Did you mean: xyz
2005 Feb 17
1
short plots: lwd, margin and postscript behavior
...hed ps). Thanks by the help, Cezar Freitas. #Example: #data scores<-c(2.0, 0.0, 5.0, 5.0, 5.0, 2.0, 0.0, 5.0, 2.5, 4.0, 5.0, 0.0, 5.0, 0.0, 2.0, 5.0, 5.0, 2.0, 3.0, 3.0) q<-summary(scores) gra<-hist(scores, breaks=((0:11)/2-.2), plot=FALSE) yy<-ceiling(max(gra$counts)/10)*10 yz<-yy/12 #plot via postscript postscript("test.ps", width=3, height=3, horizontal=FALSE, family="Times", paper="special") hist(scores, breaks=((0:11)/2-.2), xlim=c(-1,6), ylim=c(-yz,yy), main="scores", ylab="Freq", xlab="math", cex....
2011 Nov 22
4
evaluation question
Dear R People: Hope you're having a nice day. Here is a character vector: > yz [1] "pexp(3.2,rate=1)" > str(yz) chr "pexp(3.2,rate=1)" > And I would like to evaluate that vector. I tried: > eval(as.expression(yz)) [1] "pexp(3.2,rate=1)" > But that doesn't work. Any suggestions would be most welcome. I have a feeling that it...
2019 Dec 31
3
Any significance for m_OneUse in (X / Y) / Z => X / (Y * Z) ??
...med only when operand Op1 ( (X/Y) in this case) has only one use in future. The code snippet is shown below. if (match(Op1, m_OneUse(m_FDiv(m_Value(X), m_Value(Y)))) && (!isa<Constant>(Y) || !isa<Constant>(Op0))) { // Z / (X / Y) => (Y * Z) / X Value *YZ = Builder.CreateFMulFMF(Y, Op0, &I); return BinaryOperator::CreateFDivFMF(YZ, X, &I); } It would be great if someone explains if there is any issue (correctness/performance-wise) if we avoid the m_OueUse check. What if we perform the transformation even if there are multiple uses...
2023 Mar 22
1
How to test the difference between paired correlations?
...core of 0.79 has been converted into 1.08; is this correct?) FisherZ(lm(v2~v1)$coefficients[2]) > v1 > 1.081667 lm(v2~v1)$coefficients[2] > v1 > 0.7938164 # apply test v1_v2 = FisherZ(lm(v2~v1)$coefficients[2]) v1_v3 = FisherZ(lm(v3~v1)$coefficients[2]) paired.r(v1_v2, v1_v3, yz=NULL, length(v1), n2=NULL, twotailed=TRUE) > Call: paired.r(xy = v1_v2, xz = v1_v3, yz = NULL, n = length(v1), n2 = NULL, > twotailed = TRUE) > [1] "test of difference between two independent correlations" > z = NaN With probability = NaNWarning messages: > 1: In log((...
2004 Sep 23
7
decompose a correlation matrix
Is there a simple way to decompose the upper triangle of a correlation matrix to a linear list; For example: X Y Z X 1 2 3 Y 2 1 4 Z 3 4 1 so you get a list like: xy 2 XZ 3 YZ 4 I suspect you can do it with a matrix transformation, but that beyond me at present. Many thanks Mark _________________________ Department of Molecular and Human Genetics, Baylor College of Medicine,
2020 Jan 03
3
Any significance for m_OneUse in (X / Y) / Z => X / (Y * Z) ??
...nly >> one use in future. The code snippet is shown below. >> >> if (match(Op1, m_OneUse(m_FDiv(m_Value(X), m_Value(Y)))) && >> (!isa<Constant>(Y) || !isa<Constant>(Op0))) { >> // Z / (X / Y) => (Y * Z) / X >> Value *YZ = Builder.CreateFMulFMF(Y, Op0, &I); >> return BinaryOperator::CreateFDivFMF(YZ, X, &I); >> } >> >> It would be great if someone explains if there is any issue >> (correctness/performance-wise) if we avoid the m_OueUse check. What if >> we perfo...
2011 Feb 02
1
Function to locate points in 3d octants or points on two axes
...ion exists which will determine if any two selected points are on different axes, i.e, if the one of the points is on x and the other on y or z, not elsewhere on the x axis. Put another way, I need to determine if the triangle formed by the two points and the origin lies in the xy, xz or yz planes. This might be as simple as testing if any particular value is zero, i.e. if the x coordinate is zero, then the points must be on the z and y axes and the triangle in the yz plane. But, I'm looking for a fairly general solution, one that also returns the appropriate plane as th...
2009 Feb 11
1
Looping over a matrix passed to .C
...hing like: my_fun <- function(m) { if( nrow(mat) != ncol(mat) ) { stop("'m' must be a square matrix") } size <- nrow(m) for(x in 1:(size -2)) { for(y in (x+1):(size -1)) { xy <- m[x,y] for(z in (y+1):size ) { xz <- m[x,z] yz <- m[y,z] # do something with xy, xz, yz } } } } I'd like to speed this up since when size gets > a few thousand, I estimate it would take 3yrs to complete the "do something" task. I could implement the "do something" in C and have it called from...
2023 Mar 23
1
How to test the difference between paired correlations?
...correct?) > FisherZ(lm(v2~v1)$coefficients[2]) > > v1 > > 1.081667 > lm(v2~v1)$coefficients[2] > > v1 > > 0.7938164 > # apply test > v1_v2 = FisherZ(lm(v2~v1)$coefficients[2]) > v1_v3 = FisherZ(lm(v3~v1)$coefficients[2]) > paired.r(v1_v2, v1_v3, yz=NULL, length(v1), n2=NULL, twotailed=TRUE) > > Call: paired.r(xy = v1_v2, xz = v1_v3, yz = NULL, n = length(v1), n2 = NULL, > > twotailed = TRUE) > > [1] "test of difference between two independent correlations" > > z = NaN With probability = NaNWarning messag...
2001 Sep 03
2
wine and msdos applications
...lications seem to run fine uder wine, but for any MSDOS-Application FILE, I get the following error: wine: can't exec 'FILE': invalid exe file Protocol error: process 0x806a100: partial recvmsg 0 for fd This happens regardless of winver/dosver (wine is called by 'wine --winver winxyz --dosver x.yz FILE'). What am I doing wrong? Do I need to start some kind of msdos-wrapper instead of the application itself? Thx in advance Sven
2012 Feb 09
2
ROCR crashes for simple recall plot
...le dataset: library(ROCR) data(ROCR.simple) pred <- prediction(ROCR.simple$predictions, ROCR.simple$labels) perf <- performance(pred, "rec") plot(perf) But R crashes on me on the last line. I'm using R 2.14.1, ROCR 1.0-4. ?Any ideas? Thanks in advance. -- Yang Zhang http://yz.mit.edu/
2012 Feb 10
1
Custom caret metric based on prob-predictions/rankings
...hen I supply a trainControl summaryFunction, the data given to it contains only class predictions, so the only metrics possible are things like accuracy, kappa, etc. Is there any way to do this that I'm looking? If not, could I put this in as a feature request? Thanks! -- Yang Zhang http://yz.mit.edu/
2020 Jan 06
2
Any significance for m_OneUse in (X / Y) / Z => X / (Y * Z) ??
...snippet is shown below. >>>> >>>> if (match(Op1, m_OneUse(m_FDiv(m_Value(X), m_Value(Y)))) && >>>> (!isa<Constant>(Y) || !isa<Constant>(Op0))) { >>>> // Z / (X / Y) => (Y * Z) / X >>>> Value *YZ = Builder.CreateFMulFMF(Y, Op0, &I); >>>> return BinaryOperator::CreateFDivFMF(YZ, X, &I); >>>> } >>>> >>>> It would be great if someone explains if there is any issue >>>> (correctness/performance-wise) if we avoid the m...
2007 Aug 23
2
give me some works
...I will have a lot of spare time. I will be happy if you assign some work to me. I have learn linux kernel for years but only fix a few small bugs in IP stack. In the past few months, I read some EXT4/VFS codes. I began reading source of btrfs ten days ago and have read it twice now. Regards YZ
2008 Mar 15
1
btrfs-0.13 breaks boot on reiserfs-3.6
Hi, I recompiled my kernel today, and when the btrfs-0.13 option is enabled (CONFIG_BTR_FS=y) I cannot boot on my reiserfs-3.6 partition any more. The kernel says that is cannot mount /dev/sdc6. I can boot the kernel when I recompile it with the same options and CONFIG_BTR_FS=n, and with the same boot options as well. Everything is amd64 on my system (kernel + programs). Here is a screenshot of
2010 Apr 25
3
Noobie question on aggregate tapply and by
...9.8,16),rep(12.4,10),rep(16.3,5), rep(38,5)) DF<-data.frame(ids,years,data,data2) That will give you a dataframe that is a good analog of what I have. i would like to calculate means ( with NA removed na.rm) for each level of years. data data2 5 xx. yy. 6 xx yz 7 ... ,,, 8 .. ... And then things like this: 5-7 : xx yy 8 : xy zz [[alternative HTML version deleted]]
2015 Nov 23
2
Dibujar en tres dimensiones para un dominio dado. Añadir curvas de nivel.
....2)) en este dominio 0<= x <= y <=1 En el ejemplo que hay abajo, se dibuja para 0<=x<=1, 0<=y<=1. ¿Me pueden ofrecer alguna ayudita para dibujarla en el recinto 0<= x <= y <=1 ? Y si además me indican cómo dibujar las proyecciones (curvas de nivel) en los planos XY, YZ y XZ, ¡menudo dibujo quedaría! ¡Gracias! Emilio library(plot3D) x <- seq(0, 1,length.out=50) y <- seq(0, 1,length.out=50) M <- mesh(x, y) surf3D(x = M$x, y = M$y, z = pmin( 1 - abs(M$x-0.7), 1-abs(M$y-0.2) ), colkey=TRUE, bty="g") -- =============...
2001 Dec 07
5
PROPOSAL: Sub-Tagging
...is i propose the following tagging and sub-tagging system, which is easy, simple, flexible, detailed for those who want it. Tags are for simple comments, and has the form: TITLE=Title Subtags are for detailed comments, and has the form: ARTIST=COMPOSER=Xz ARTIST=PERFORMER=Yz This way, detailed info about the artist (as most mortal beeings think of it) are available while still beeing part of the simpler standard, which as a bonus also is backwards-compatible with existing players. If a player supports the subtags, it will display them in the detailed form:...
2001 Aug 01
3
partial correlations
Howdy! I need to calculate partial correlations and I just can't find out how to do that with R. Can anybody help? Ragnar -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !)
2002 Jul 01
1
a little statistics help
...ctors "A", "B", "C", "D", etc and Z is a column of n factors "a", "b", "c", etc if i do MyLm<-lm(X~Y*Z - 1) i get all N coefficients for Y-factors, but only n-1 coefficients for Z-factors, and only N*(n-1) coefficients for YZ interaction. Is that how it's supposed to be? I would like to get N coefficients for all factors Y and n coefficients for all factors Z - how can i do that? Thank you very much, Vlad -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read...