search for: blejec

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

2009 May 14
4
Duplicates and duplicated
Hi everybody. I want to identify not only duplicate number but also the original number that has been duplicated. Example: x=c(1,2,3,4,4,5,6,7,8,9) y=duplicated(x) rbind(x,y) gives: [,1] [,2] [,3] [,4] [,5] [,6] [,7] [,8] [,9] [,10] x 1 2 3 4 4 5 6 7 8 9 y 0 0 0 0 1 0 0 0 0 0 i.e. the second 4 [,5] is a duplicate. What I want is
2011 Sep 12
2
Automated generation of combinations
Hello,   I'd like to generate automatically all the possible combinations of a set of 8 variables (there are 535, too many to do it by hand). For example:   input: varA, varB, varC output: varA+varB+varC             varA+varB             varA+varC             varB+varC             varA             varB             varC Is there any function that produces this option?   Thank you [[alternative
2004 Mar 30
0
koq.q ---- Kent O' Quigley R2
Dear R-users, I apply to your kind attention to know if someone have used the Splus software koq.q (Kent & O'Quigley's measure of dependence for censored data) in R and kindly can help me. I have tried several times to contact the authors Andrej Blejec (andrej.blejec at uni-lj.si) or Janez Stare (janez.stare at mf.uni-lj.si) but unfortunately no one answered me. Following you'll see the function nlminb that i have changed with R-function optim() and the error that came out when i try to run this software. As attached file there is the...
2010 Mar 16
3
How to parse a string (by a "new" markup) with R ?
Hello all, For some work I am doing on RNA, I want to use R to do string parsing that (I think) is like a simplistic HTML parsing. For example, let's say we have the following two variables: Seq <- "GCCTCGATAGCTCAGTTGGGAGAGCGTACGACTGAAGATCGTAAGGtCACCAGTTCGATCCTGGTTCGGGGCA" Str <-
2007 Dec 07
5
Grouping by interval
Hello, I have a dataframe of say 20 lines with one line per individual. I want to group these 20 individuals by length class (eg. of 5cm) and get the mean value of all the other variables (eg VarA and VarB) for each length class My dataframe is as follow: Length <- 10:30 VarA <- seq(1000,1200,10) VarB <- seq(500,700,10) Data <- cbind(Length,VarA,VarB) And I want to get something
2010 Mar 16
0
FW: How to parse a string (by a "new" markup) with R ?
...ion of after string dimnames(parts)[[2]] <- paste("stem",0:4,sep="") parts["after",1] <- parts["inside",1] parts["inside",1] <- "" # return(parts) } ############################################################ Andrej -- Andrej Blejec National Institute of Biology Vecna pot 111 POB 141 SI-1000 Ljubljana SLOVENIA e-mail: andrej.blejec at nib.si URL: http://ablejec.nib.si tel: + 386 (0)59 232 789 fax: + 386 1 241 29 80 -------------------------- Local Organizer of ICOTS-8 International Conference on Teaching Statistics http://icot...
2008 Mar 25
5
reading Excel file
Hi R, I have an excel file in which the third column is "date" and others are "character" and "numeric". Number of columns are 12 If I use this to read the file in R: x = read.xls("D:\\file.xls") The problem is that my date column is read in julian dates. So I am using: x = read.xls("D:\\file.xls",