search for: mn1

Displaying 7 results from an estimated 7 matches for "mn1".

Did you mean: m1
2012 Feb 13
2
Error in apply(x2, 1, diff) : dim(X) must have a positive length
...nows hat might be the cause of this error? Thanks for any help! >library(MASS) > dif.mns = function(x2,tr1=.2,tr2=.3){ + #generates four different 'means' using + #difference scores from x2, an n x 2 matrix + #for use w/ bootstrap comparisons + diffs = apply(x2,1,diff) + mn1=mean(diffs) + mn2=mean(diffs,tr=.2) + mn3=mean(diffs,tr=.3) + mn4=median(diffs) + mns=c(mn1,mn2,mn3,mn4) + list(mnds=round(mns,3)) } > dif.mns(shoes) Error in apply(x2, 1, diff) : dim(X) must have a positive length -- View this message in context: http://r.789695.n4.nabble.c...
2009 Jul 15
1
Matrix multiplication precision
...ives and the suggestion was to use as.numeric while computing the products. I am still having problems with the results. Here is how I am using it #Mn.mat<-(T.mat %*% Rz.mat %*% Q.mat %*% Rz.mat %*% T.mat) # I was doing this in one step which I have broken down into multiple steps as below. Mn1.mat<-matrix(as.numeric(T.mat %*% Rz.mat),nrow=4) Mn2.mat<-matrix(as.numeric(Mn1.mat %*% Q.mat),nrow=4) Mn3.mat<-matrix(as.numeric(Mn2.mat %*% Rz.mat),nrow=4) Mn.mat<-matrix(as.numeric( Mn3.mat %*% T.mat),nrow=4) For getting the inverse I am doing the following Mn.mat.inv<-qr.solve...
2009 Jan 26
0
why two diff. se in nlsList?
...9 39.21638 2.583953e-06 Qn3 44.22800 1.0241029 43.18706 1.809264e-07 Qc1 36.42874 1.1941594 30.50576 1.140085e-05 Qc3 40.68373 1.2480923 32.59673 1.424635e-04 Qc2 39.81950 1.0167249 39.16447 2.692304e-06 Mn3 28.48286 1.0624246 26.80930 1.066434e-06 Mn2 32.12827 1.0174826 31.57624 3.488786e-06 Mn1 34.08482 1.3400596 25.43530 4.199333e-06 Mc2 13.55519 1.0506404 12.90184 4.385886e-06 Mc3 18.53506 0.8363371 22.16219 1.461563e-06 Mc1 21.78723 1.4113318 15.43735 5.756870e-06 > summary(fm1)$coef[,,1] Estimate Std. Error t value Pr(>|t|) Qn1 38.13977 0.9163882 41.61967 1.991990...
2000 Jun 07
1
forward stepwise selection
...52 2.73038 0.21039 0.26088 SNB1 SN.POG1 -0.74297 0.56201 > fmla ~1 + SEX + AGE.YRS + OJS + S.N1 + S.AR1 + B.N1 + CD.GO1 + CD.GN1 + GO.GN1 + AR.GN1 + VRP.POG1 + UAFH1 + LAFH1 + UPFH1 + LPFH1 + AFP1 + PFP1 + OB1 + OJ1 + SNA1 + SNB1 + SN.POG1 + MX.MN1 + SN.MN1 + LAFH.P1 + LPFH.P1 > step(lm(ANB.DIFF~1,tink4),scope=list(lower=~1,upper=fmla),direction="forward") Start: AIC= 25.35 ANB.DIFF ~ 1 Error in lm.fit(X, y) : incompatible dimensions > I've narrowed it down to the command add1(), which uses lm.fit(), but the...
2007 Apr 24
1
Issue with mounted drive
...=777,dmask=777 //auxcr1/group\ files /mnt/users/SHARE_CDR mount -t smbfs -o credentials=/root/.samba_cred,uid=apache,gid=apache,fmask=777,dmask=777 //wimail/group\ information /mnt/users/SHARE_MAD mount -t cifs -o credentials=/root/.samba_cred,uid=apache,gid=apache,file_mode=0777,dir_mode=0777,rw //mn1/group\ information /mnt/users/SHARE_MIN The first three mounts are on a NT4 domain, while the last is on a active directory domain. I can reboot the RHEL4 ES server and when that reboots it gets mounted again, but how can I avoid doing it this way. Phusion
2008 Apr 14
5
Equivalent to a BY command in SAS
Hi, I'm very new to R and absolutely love it. Does anyone know how to use something in R that functions like a BY command in SAS? For example, let's say you have a variable x, and you want to see the mean. Easy... > mean(x) But what if you want to see the mean of x conditional on another discrete variable? My best attempts so far are something like... > mean(x, y_cat=1)
2008 Jun 30
4
Rebuild of kernel 2.6.9-67.0.20.EL failure
Hello list. I'm trying to rebuild the 2.6.9.67.0.20.EL kernel, but it fails even without modifications. How did I try it? Created a (non-root) build environment (not a mock ) Installed the kernel.scr.rpm and did a rpmbuild -ba --target=`uname -m` kernel-2.6.spec 2> prep-err.log | tee prep-out.log The build failed at the end: Processing files: kernel-xenU-devel-2.6.9-67.0.20.EL Checking