search for: pair

Displaying 20 results from an estimated 9881 matches for "pair".

Did you mean: fair
2006 Apr 24
1
Re: Shielding of T1/E1 cables WAS RE: Pinoutsfor T1/E1 crossover
> I've never bothered to check to see if cat5 cables use the appropriate > mating twisted pairs or not. Since the pinouts are different for cat5 vs > T1 cables, I'd have to guess a single strand is used from two different > twisted pair groups. That wouldn't be cool, but in short runs it > probably doesn't have much of an impact. > IIRC, standard Ethernet uses pairs...
2006 Apr 24
1
Re: Shielding of T1/E1 cables WAS RE: PinoutsforT1/E1 crossover
> Close. 10/100mbps Ethernet uses wires 1,2,3,6 but that is pair 2 & 3. > Pair > one is the pair up the dead center (pins 4&5), pair 2 is pins 1&2, pair 3 > is > 3&6 and pair 4 is 7&8. A T1 uses pairs 1&2, which is why you can't use a > regular crossover cable for a T1 crossover, but you can use a regular > ethernet...
2009 Jun 10
2
How to get the unique pairs of a set of pairs dataframe ?
...ds, Please can anyone help me with an easier solution of doing the below mentioned work. Suppose i have a dataset like this:--- i1 i2 i3 i4 i5 1 7 13 1 2 2 8 14 2 2 3 9 15 3 3 4 10 16 4 4 5 11 17 5 5 6 12 18 6 7 *i1,i2,i3,i4,i5 are my items.I am able to find all possible pairs i.e Say this dataframe is "item_pairs" **i1,i2 **i1,i3 **i1,i4 i1,i5 **i2,i1 **i2,i3 i2,i4 i2,i5 **i3,i1 **i3,i2 **i3,i4 **i3,i5 **i4,i1 **i4,i2 **i4,i3 i4,i5 i5,i1 i5,i2 i5,i3 i5,i4 Pairs like (i1,i1) or (i2,i2) are not required.Now pair (i1,i2) is same as pair (i2,i1) .How can i chop...
2009 Nov 15
4
pairs
Hi, All, I have an n by m matrix with each entry between 1 and 15000. I want to know the frequency of each pair in 1:15000 that occur together in rows. So for example, if the matrix is 2 5 1 6 1 7 8 2 3 7 6 2 9 8 5 7 Pair (2,6) (un-ordered) occurs together in rows 1 and 3. I want to return the value 2 for this pair as well as that for all pairs. Is there a fast way to do this avoiding loops? Loops take too l...
2023 Nov 07
0
Inconsistency in paired t.test() interface?
Hi all, In the next release of R (4.4) the option to obtain a paired t.test with the formula interface for "long" data has been removed: t.test(x ~ group, paired = TRUE) # now results in an error. Exploring how one might obtain a paired t.test, there seems to be some inconsistency between the formula and default interfaces as well as within the formula...
2013 May 01
1
Multiple Paired T test from large Data Set with multiple pairs
...X.Treatment=rep(c("ALA1A","ALA1U"),each=5),stringsAsFactors=FALSE) library(reshape2) dat2<-melt(dat1,id.var="Site.X.Treatment") sapply(split(dat2,dat2$variable),function(x) t.test(x[x$Site.X.Treatment=="ALA1A",3],x[x$Site.X.Treatment=="ALA1U",3],paired=TRUE)$p.value) ? #??? Algae.Mass??? Seagrass.Mass Terrestrial.Mass?????? Other.Mass ? #???? 1.0000000??????? 0.4624989??????? 0.4388211??????? 0.7521036? #or library(plyr) ?ddply(dat2,.(variable),function(x) summarize(x,Pvalue=t.test(value~Site.X.Treatment,data=x,na.rm=TRUE,paired=TRUE)$p.value)...
2006 Jul 06
4
Need advice on code-like columns
Hello! I''m trying to move to rails from traditional web app. As Rails has some conventions about table schema, I met some obstacles. Questions. 1. This is a sort of general question. Do you make a code table for things like the following? Activity Status Codes 01001: Open 01002: Pending 01003: Delayed 01004: Cancelled 01005: Closed (The first 2 digits are code category.) Would you
2009 Jul 24
2
suggestion for paired t-tests
There's a funny inconsistency in how t.test handles paired=T or paired=F. If x and y parameters are lists, paired=F works, but paired=T doesn't. > lg=read.csv("my.csv") > a = subset(lg, condition=="a")["score"] > b = subset(lg, condition=="b")["score"] > t.test(a,b) > t.test(a,b, paire...
2015 Feb 07
3
how to draw paired mosaic plot?
If there are many character variables,and I want to get the mosaic plot of every pair of each variable,how to do then? If the variables are numeric, I can use pairs to get paired scatter plot. But as to the character variables, how to get the "paired mosaic plot"? Many thanks. -- QQ: 1733768559 At 2015-02-07 17:04:26,"Jim Lemon" <drjimlemon at gm...
2008 Oct 07
2
Programing and writing function help
...y difficult in themselves, however they will be very time consuming (Plus I think R will be extremely useful and this is another excuse to learn how to program). I have a vector of 20 values x <- c(20,18, 45, 16, 47, 47, 15, 26, 14,14,12,16,35,27,18,94,16,26,26,30) 1. I want to select random pairs from this data set but do it without replacement exhaustively I know i can select random pairs without replacement using sample(N,n,replace=F) However i am wondering if there is any way to get 10 random pairs from this data set without repeating any of the data points that is to say if i got a (...
2005 Apr 07
2
axis colors in pairs plot
The following command produces red axis line in a pairs plot: pairs(iris[1:4], main = "Anderson's Iris Data -- 3 species", pch = "+", col = c("red", "green3", "blue")[unclass(iris$Species)]) Trying to fool pairs in the following way produces the same plot as above: pairs(iris[1:4], main = &...
2006 Apr 19
3
newbie question : select distinct in model
Hi guys, I''m new so be gentle :-) How do I put the following into a method inside a model.... select distinct(pairing_id), description from pairings_stories, pairings where pairing_id = pairings.id order by description I basically want to have a @pairlist = Pairing.UniqueBookList line in a controller. Just not sure how to wire up this method in the model. And do I use find_by_sql or is there a nice rai...
2012 Jul 11
2
[LLVMdev] Saving one part of a register pair in the callee-saved list.
Hello, I would like to know if there's a way of setting the callee-saved register list inside getCalleeSavedRegs() to make the PEI pass save/restore only one half of a register pair if the other half is not being used, instead of saving the whole pair. Here is an example of what I try to explain to make things more clear: Suppose this situation where we have a register file of 8bit regs, and that you can form regpairs by joining two adjacent regs. Pairs are pseudo regs that a...
2019 Dec 07
5
Inconsistencies in wilcox.test
Hello, Writing to share some things I've found about wilcox.test() that seem a a bit inconsistent. 1. Inf values are not removed if paired=TRUE # returns different results (Inf is removed): wilcox.test(c(1,2,3,4), c(0,9,8,7)) wilcox.test(c(1,2,3,4), c(0,9,8,Inf)) # returns the same result (Inf is left as value with highest rank): wilcox.test(c(1,2,3,4), c(0,9,8,7), paired=TRUE) wilcox.test(c(1,2,3,4), c(0,9,8,Inf), paired=TRUE) 2...
2012 Jan 26
3
[LLVMdev] [llvm-commits] [PATCH] BasicBlock Autovectorization Pass
...est.c then I get no vectorization at all (the output is identical to that without the -vectorize). What target triple is your clang targeting? If I include -mllvm -debug-only=bb-vectorize then the relevant output is: BBV: fusing loop #1 for entry in main... BBV: found 0 instructions with candidate pairs BBV: done! BBV: fusing loop #1 for for.body in main... BBV: found 0 instructions with candidate pairs BBV: done! BBV: fusing loop #1 for for.end in main... BBV: found 0 instructions with candidate pairs BBV: done! BBV: fusing loop #1 for for.cond7.preheader in main... BBV: found 0 instructions wit...
2013 Mar 13
5
[LLVMdev] Problems with 64-bit register operands of inline asm on ARM
r175088 attempted to fix gcc inline asm compatibility with 64-bit operands by forcing these into even/odd register pairs the same way gcc always allocates such values. While the fix appears to work as such, it is not always activated when required. The patch makes the assumption that any inline asm statement relying on the even/odd allocation will make use of the %Hn syntax to reference the high (odd) register. H...
2013 Mar 13
0
[LLVMdev] Problems with 64-bit register operands of inline asm on ARM
On 13 March 2013 13:43, Måns Rullgård <mans at mansr.com> wrote: > One possible fix, which I have tested, is to look for the specific > instructions requiring such a pair (LDRD/STRD and LDREXD/STREXD) in > addition to the 'H' modifier. However, there are probably other > creative ways in which inline asm might rely on the specific pairing. > Hi Mans, Either that method is ignoring an inline asm parser or there isn't one, but I agree, we shoul...
2010 Nov 27
3
[LLVMdev] Register Pairing
Hello, some months ago i wrote to the mailing list asking some questions about register pairing, i've been experimenting several things with the help i got back then. Some background first: this issue is for a backend for an 8bit microcontroller with only 8bit regs, however it has a few 16bit instructions that only work with fixed register pairs, so it doesnt allow all combinations of...
2011 Feb 26
1
Finding pairs with least magnitude difference from mean
...want to figure out is if I have a vector of numbers, > x <- rnorm(10) > x [1] -0.44305959 -0.26707077 0.07121266 0.44123714 -1.10323616 -0.19712807 0.20679494 -0.98629992 0.97191659 -0.77561593 > mean(x) [1] -0.2081249 Using each number only once, I want to find the set of five pairs where the magnitude of the differences between the mean(x) and each pairs sum is least. > y <- outer(x, x, "+") - (2 * mean(x)) > y [,1] [,2] [,3] [,4] [,5] [,6] [,7] [,8] [,9] [,10] [1,] -0.46986936 -0.29388054...
2010 Aug 30
1
lost in vegan package
Hi R Helpers, I'm still new to R and i experience many difficulties..I'm using vegan package (R version 2.11) trying to calculate checkerboard units for each species pair of a matrix. I've prepared the function: pair.checker=function (dataset) {designdist (dataset, method="c("(A-J)x(B-J)", terms ="binary", abcd=FALSE)} to use with function oecosimu as follows: oecosimu(dataset, pair.checker, "tswap", nsimul=5000, burnin=0, t...