search for: nm2

Displaying 8 results from an estimated 8 matches for "nm2".

Did you mean: nb2
2009 Mar 13
2
Taking diff of character vectors
Hello, everybody Say I have nm1 <- c(rep(1,10), rep(0,10)) then I can do: diff(nm1) to see where I have shift in value but what if I have nm2 <- c(rep("SPZ8", 10), rep("SPX9", 10)) how can I produce the same ouput as diff(nm1) does, that is zeros everywhere except for one place where SPZ8 changes to SPX9 (there should be 1 there)? What if I have a matrix of characters like that: nm3 <- c(rep("GLF9",...
2009 Sep 20
4
correlation help
Dear group, I have a matrix like the following: Name Sample1 sample2 sample3 sample4 ..... sample(n) nm1 10.5 13.5 30 31 nm2 8 11 34 29 nm3 9 10.3 27.8 35 nm(j) I want to be able to calculate correlation between all pairs of names. For example (nm1,nm2), (nm1,nm3), (nm1,nmj), (nm2,nm3), (nm2,nmj).... Then I want to calculate the signifi...
2011 Oct 17
1
plotting issues with PCA
...rectly and is only printing the first colour in the file....code is below site.codings <- c(1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,5,4,4,4,4,4,3,3,3,6,6,6,6,6,6,6,6,5,5,5,5) > names(site.codings) <- c( "WM1", "WM2", "WM3", "NM1", "NM2", "NM3", "KH1", "KH2", "KH3", "LM1" ,"LM2" ,"LM3", "DB1" ,"DB2" ,"DB3", "DM1" , "DM2" , "DM3" , "FI1", "FI2", "BKI1", "BKI2&quo...
2009 Mar 14
1
multiple hypothesis testing
...zon.net> wrote: > > Hi: > > For A, you can use head and tail but you have to add a zero the front. > > For B, you can use the same function, but put it inside an sapply and run > > over the columns and then cbind it back with the original dataframe. > > A) > > nm2 <- c(rep("SPZ8", 10), rep("SPX9", 10)) > > -1.0*c(0,as.numeric((head(nm2,-1) != tail(nm2,-1)))) > > > > B) > > nm3 <- c(rep("GLF9", 4), rep("GLF10", 16)) > > matr <- cbind(nm2, nm3) > > temp<-as.data.frame(sappl...
2009 Dec 13
3
[PATCH] drm/nouveau: use drm debug levels
.....d2f143e 100644 --- a/drivers/gpu/drm/nouveau/nv04_crtc.c +++ b/drivers/gpu/drm/nouveau/nv04_crtc.c @@ -143,10 +143,10 @@ static void nv_crtc_calc_state_ext(struct drm_crtc *crtc, struct drm_display_mod state->pllsel |= nv_crtc->index ? PLLSEL_VPLL2_MASK : PLLSEL_VPLL1_MASK; if (pv->NM2) - NV_TRACE(dev, "vpll: n1 %d n2 %d m1 %d m2 %d log2p %d\n", + NV_DEBUG_KMS(dev, "vpll: n1 %d n2 %d m1 %d m2 %d log2p %d\n", pv->N1, pv->N2, pv->M1, pv->M2, pv->log2P); else - NV_TRACE(dev, "vpll: n %d m %d log2p %d\n", + NV_DEBUG_KMS(dev, &qu...
2009 Aug 13
9
[PATCHv2 01/10] drm/nouveau: Fix a lock up at NVSetOwner with nv11.
It seems it was only locking up in the context of nouveau_hw_save_vga_fonts, when it actually did something (because the console wasn't already in graphics mode). Signed-off-by: Francisco Jerez <currojerez at riseup.net> --- drivers/gpu/drm/nouveau/nouveau_hw.c | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/drivers/gpu/drm/nouveau/nouveau_hw.c
2009 Aug 12
14
[PATCH 00/12] TV-out modesetting kernel patches.
This patch series adds TV-out modesetting support to the KMS implementation. I've tried to test it on all the hardware I've got at hand (that is nv11, nv17, nv34, nv35, nv40, nv4b) with every possible output combination; I believe it has reached a mergeable state, however it depends on some commits from drm-next that haven't got into Linus' tree yet, if you agree to merge this
2009 Jul 23
1
[PATCH server] changes required for fedora rawhide inclusion.
...CluoVwtNea(|db|e%< zHAHih%B{|%-|axDc~g{)uyhheJ7a|NtRmAU#3T|4 at NpdR7$)f$oocOCG3%+&kmzE; z)1#|R->7%B<oIYm4w=xv;TnM46wI{w5o{asCF%6DCm&6v?f6|E0OCr`@KKI7qyfID z- at PoHL=frW#~QQ08vXCQ$7)`;>HNoa9zT^l>76EaRSzrmihk?*gml<0;I;V at dZ}<u z+v+5Zsl&QgdF^;9E`CTOhfW*b9F&cV2i0Nm2snm~0oc=*?oc9Vw+egDe0w#6;2PpQ zwJ>6?THMv4$2Z7fp+eU!U~DnLj^q at Vz?=5Lh<Y1gMj31|v)@ZmPmUmO>jfETXYqZ1 z`(f2a$6P;D^Xu6=&xHb!)*s}jW1mcX{}lIuQ$-;C#Vg$jfA;SZ&muN at 6XqH|3VmNT zJy^Yd?P6$Z1VJ|aQ7$ecu4(2(vW*zC7{ez{)B6=&k at a|SXQ)ahCdrLCm<n|+mz-~6 z4)F*}ir|(E{#Dr55tn8djR_58_Q;1iN=cUN...