search for: kxk

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

Did you mean: kok
2009 Jul 22
3
How to use macro variable in a text string
I want to use read.table to input many files, each for a different year. I would like to use the macro variable 't' to refer to the exact file that I would like to input the data using read.table. How could I do this? Thank you! for (t in 1970:2005) { edge <- read.table(file="edge_t.csv", header=T, sep=",") ## I will have many rows of code following the
2003 Jul 06
1
Conditional Distribution of MVN variates
Hi Folks, Given k RVs with MVN distribution N(mu,S) (S a kxk covariance matrix), let (w.l.o.g.) X1 denote the first r of them, and X2 the last (k-r). Likewise, let mu1 and mu2 denote their respective expectations. Then, of course, the expectation of X2 given X1=x1 is mu2 + S21*inv(S22)*(x1 - mu1) and the covariance matrix of X2 given X1=x2 is S22 - S...
2007 Jul 05
1
generating lower triangular matrix
Hi, I would like to generate below triangular matrix for some a. 0 0 0 0 0 0 1 0 0 0 0 0 a 1 0 0 0 0 a^2 a 1 0 0 0 a^3 a^2 a 1 0 0 a^4 a^3 a^2 a 1 0 What's an efficient way to do this? (this matrix being KxK, K very large) Thanks Zava -------------------------------------------------------- This is not an offer (or solicitation of an offer) to buy/se...{{dropped}}
2004 Jan 12
2
data structure problem
HI, there, I have a data set with special structure. It is in n*(5*p): n is the number of observations or data points 5*p is the matrix for each data point I'd like to conduct discriminant analysis to this data set. How could I do? And where could I find related references to solve this problem? Thanks a lot! Jieping Zhao PhD student in Bioinformatics, NCSU Lab
2009 Jul 24
2
How to find the min and max of two variables in a data frame
I have two variables in a data frame, I want to generate two additional variables. For every observations (i.e. every row), I want the first new variable 'min' to carry the minimum of the two existing variables, and I want the second new variable 'max' to carry the maximum of the two existing variables. I then want to sort the data frame by min and max, and delete duplicated rows
2009 Jul 22
1
How do I delete a row from a data frame when varA == "TRUE"
I want to delete a row from a data frame XYZ where A == "TRUE". Let's assume there are five variables in this data frame XYZ. My deletion is based on the TRUE vs. FALSE value under variable A. How do I do this? Thanks! My current code: for (i in 1:length(XYZ$A)) if (XYZ$A == "FALSE") XYZ<-XYZ else XYZ<- XYZ[-i,] Error message is: Error in if (XYZ$A ==
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
2009 Jul 23
1
[PATCH server] changes required for fedora rawhide inclusion.
...Tz+pOp2Ucw17e^BzZxJu;Q z7X*D-WPnnN&p8>O<%&By4E&zip}?6Pb`Veflm;rQzf#Y1JW7ZI6o?RQ0=iS^GdU6a zOb+drld=7BXrG*l?UO^hpdQC|$)UZ_@?v}C;3=)-l*Zzxv{D{?#VC2jVDVRsQayB7 z4&GrMl}qlBVuztYM;Gftr?3v%7KaEBv+=Qv05J<6$_N-_L<bvgi0#q}_vR69fhMWK z#PQ3b6p&7#-7=|vvE6d$QyKs~_Ni=rCKooPZi~VMJ`?KXK!M*9_<Nv2?~$$j4$6L@ z>=!7nC<;)<QY9RaGjyuh0oh4}yo#8e6P};S!B-9IfE;+$kP^`$hA7Bndv)5{CzB0E zqh%j5*e6T557A0Gute!xv|S$BE}-oK+Vu_^X at V}+UV%m2?giFf!R;W?6KO~MYfevW z)+%-<A_gn&KpLyK!e+Qu*u8n|2HIMsT;>Uz%e%4gT<RL*A(a&sm1NE3iRe&6_%vxj z2A|3BPy;9*D6W^vMxi}aBGpY9scMpWdA9ZWI_4bn4Z...