search for: andelement

Displaying 20 results from an estimated 25 matches for "andelement".

Did you mean: addelement
2003 Jul 08
4
how to rename rows/columns of a matrix?
Hi I get a matrix with the columns named like "X13 X22 X1 X14 ...", i.e. not successively. That has it's good reasons, but now how can I rename the columns to "X1 X2 X3 ..."? Thanks a lot, David
2003 Jul 08
7
rbind question
Hi I am trying to replicate a vector in n rows for comparison purposes with another matrix. foo <- c(1,2,3) bar <- rbind(foo,foo) # does the trick for 2 rows bar <- rbind(rep(foo,2)) # does something else How do I generate a matrix with all rows=foo without writing 'foo' n times as arg? Thanks, David
2006 Apr 17
2
RE: document.getElementsByClassName (prototype) andElement.childrenWithClassName (scriptaculous) redundancy?
...noffs- > bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org] On Behalf Of Jeremy Kitchen > Sent: Monday, April 17, 2006 12:40 PM > To: rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > Subject: Re: [Rails-spinoffs] document.getElementsByClassName (prototype) > andElement.childrenWithClassName (scriptaculous) redundancy? > > On Monday 17 April 2006 11:24, Jeremy Kitchen wrote: > > Is there a reason scriptaculous provides what appears to be a redundant > > function? The reason I''m asking is that it only seems to be used twice > > th...
2008 Nov 21
2
Dendrogram labels
Is there any way to change the orientation of the labels on the end of the dendrograms to horizontal rather than vertical? If so, how can I do that. _____________________________________________ Patrick Richardson Biostatistician - Program of Translational Medicine Van Andel Research Institute - Webb Lab 333 Bostwick Avenue NE Grand Rapids, MI 49503 ph. 616.234.5787 This email message,
2004 Mar 09
2
use of split lines in ess
Hi all I am very astonished that R generates a "syntax error" when I want to split up a line with a backslash, which usually works in any shell script. R itself generates the "+" symbols at the beginning of following lines in a splitted line so I've tried with them as well, but also without success. Searching in the h-help archive did not reveal any answer either.
2003 Jul 15
2
matrix manipulations
Hi cor(x,apply(x,1,sum)) gives me the correlations of each column with the sums of each row (correct me if I'm wrong, please). What I need are the correlations of each column with the sums of each row except the entry in the given column. It seems that for any one column i I get it by doing: cor(x[,i],apply(x[,-i],1,sum)) But I struggle to get it for all the columns. I was trying things
2008 Aug 26
0
unclear alias behaviour
Hi all In /etc/aliases I have set up an alias for "root" pointing to "david" which is a unix account. Other email accounts are virtual dovecot accounts, one of them is "andel". They all work fine using /etc/postfix/virtual when used with the domain name which is defined in /etc/postfix/virtual.domains. But the alias "david andel" in /etc/postfix/virtual
2003 Jul 17
3
how to divide a string into characters? - for comparing strings that is
Hi I am searching for a way to do something like "ABC" -> c("A","B","C"). How can this be accomplished? I tried cut() and split(), but they do something else, it seems. The purpose for doing this is to find the number of common (and uncommon) characters, i.e. ultimately I want something like this: > foo("ABD","ADE") c(2,1) # 2
2004 Mar 18
2
character -> list
Hi I have a matrix of type "character" (strangly) and am trying to apply the function "aggregate" to it, but unfortunately without success. It seems to me that aggregate would work, if I only could get rid of the quotation marks around each item. So for a very simple example which looks as my actual data look (of course here I put the quotation marks on purpose, but I have
2002 Jan 23
2
Rsync 2.5.1 on Solaris 8 reverse lookup failures
I get the following log messages using rsync 2.5.1 compiled on Solaris 8 when using the "hosts allow" option in rsyncd.conf: 2002/01/23 12:09:51 [28276] rsync: reverse name lookup mismatch on fd0 - spoofed address? 2002/01/23 12:10:18 [28276] rsync: connection unexpectedly closed (16 bytes read so far) Resolv.conf/DNS are configured and working properly with both A and PTR records
2003 May 09
1
generate correlated dataset
Hi,I want to generate a dataset, which have more than one clusters (say 2) and the elements in each cluster have high correlation (say 0.85) andelements among different clusters have low (say 0.1) or zero correlation.The correlation structure of final dataset should have a block-diagonal structure, that likes 0.85 0.85 .. 0.85 0 0 0 0 ...0 0 0...0 0 0 .......................................................0.85 0.85 .. 0.85 0 0 0 0...0 0 0 ...0 0...
2003 Jun 17
1
How to generate a pairwise non-parametric comparison table?
Dear list I am comparing the results of several different experimental setups. With kruskal.test() I can test if there is any difference at all in any of them, if I understand it correctly. But now, when there is a difference, how do I generate a (half-) table of pairwise comparisons, using e.g. wilcox.test(), to find the ones where the difference actually occurs. I guess I don't have to
2008 Nov 18
1
Legend Position
List, Is there any way to specify the position of the legend from within the following code? If so, how can I do it. As it stands it in the bottom left corner and I want to move it to the top right. I'm not sure if I can use the default "plot" or if I need to go with the lattice package. Suggestions much appreciated. plot(y, xlab="Survival Time (Months)",
2002 May 15
1
Excluding NFS mounts
To whom it may concern, Would appreciate it if anyone knows how we might easily exclude NFS mount points within a file system from being rsync'd? Regards, Craig Donnelly Andel Consulting 10 Fenchurch Avenue London EC3M 5BN Tel: 0207 6655055 Fax: 0207 6655060
2004 Sep 28
2
Validating a Cox model on an external set
Good morning, Sorry to trouble the list. I have a problem I hope to seek your advice on. Essentially, I am trying to 'validate' a multivariate Cox proportional hazards model built in a training set, by testing it on an external test set. I have performed a survfit using the Cox model to predict survival for the test set, and obtained individual predictions for survival time, with
2008 Dec 04
1
Comparing survival curves with "survdiff" "strata" help
ExpeRts, I'm trying to compare three survival curves using the function "survdiff" in the survival package. Following is my code and corresponding error message. > survdiff(Surv(st_months, status) ~ strata(BOR), data=mydata) Error in survdiff(Surv(st_months, status) ~ strata(BOR), data = mydata) : No groups to test When I check the "strata" of the variable. I get .
2008 Nov 05
3
Sort help
Geneset_name #Chromosome #Hit_in_Biomart original_geneset_len Missing.genes [1,] "AGUIRRE_PANCREAS_CHR12" "1" "51" "59" "8" [3,] "AGUIRRE_PANCREAS_CHR9" "1" "24" "24"
2008 Apr 22
2
Internal login failure
Hi all My postfix/dovecot installation seems to be working fine - on the machine. But I cannot connect from the outside by IMAP. I am desperately searching for the reason of the following error: bit:/var/log# telnet localhost imap Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. * OK Dovecot ready. 1 LOGIN test test1 * BYE Internal login failure. Refer to server log
2004 Mar 12
1
double vs. list
Hi all I've got trouble with getting a "list" object and not being able to change that: Lets say x is a simple matrix and I want to remove all elements <3 to get 3 5 7 > x <- matrix(c(1,2,3,5,1,7), nrow=2, ncol=3, byrow=T) > x [,1] [,2] [,3] [1,] 1 2 3 [2,] 5 1 7 > typeof(x) [1] "double" > y <- sapply(c(1,2), function(i)
2008 Sep 15
1
Tinn-R Install
I just upgraded to the new version of Tinn-R and when submitting scripts I get the following error. > source(.trPaths[4], echo=T) Error in source(.trPaths[4], echo = T) : object ".trPaths" not found I'm running R 2.7.2. Win XP Pro x64 3 GB RAM. Any suggestions? Thank You, Patrick This email message, including any attachments, is for th...{{dropped:9}}