search for: adai

Displaying 20 results from an estimated 203 matches for "adai".

Did you mean: ada
2005 Mar 02
5
Differences between package and library terminology
...ection. I have searched the FAQ and mail archives and only came up with http://tolstoy.newcastle.edu.au/R/help/05/02/12162.html but this still does not explain what is the requirement/features of a package vs. library. Does this question not qualify to be included in the FAQs. Thank you Regards, Adai
2005 Jul 18
5
colnames
Hi, I have a matrix with column names starting with a character in [0-9]. After some matrix operations (e.g. copy to another matrix), R seems to add a character 'X' in front of the column name. Is this a normal default behaviour of R? Why has it got this behaviour? Can it be changed? What would be the side effect? Thank you. Regards, Gilbert [[alternative HTML version deleted]]
2003 Mar 17
4
X11 connection error in web cgi mode only
...("jpeg::", quality, ":", filename, sep = ""), width, : unable to start device JPEG In addition: Warning message: unable to open connection to X11 display`' Execution halted Why do I get this error and how can I fix it? Many thanks in advance. Regards, Adai.
2005 Feb 28
5
Journal Quality R Graphs?
Hi! I have browsed the help archives but did not find anything on the subject: How to make publication quality graphs with R best? Is there some document about that topic out there? The problem is that the graphs look nice on the screen but when printed in black and white every color apart from black doesn't look very nice. Is there some guideline how to set color palettes and or fill
2003 Jun 07
3
Error Compiling e1071
....7-10 and R 1.6.2 on Linux 2.4.9-34smp but keep getting the same error message during configure : WARNING: g++ 2.96 cannot reliably be used with this package. Please use a different compiler. Can anyone help me with this or at least point me in the right direction ? Thank you very much. Regards, Adai.
2005 Jul 25
5
passing formula arguments cv.glm
...: Object "formu" not found I think this has something to do with formula and environments but I do not know enough to solve it myself. I searched the archive without much help (perhaps I was using the wrong keywords). Any help would be very much appreciated. Thank you. Regards, -- Adaikalavan Ramasamy ramasamy at cancer.org.uk Centre for Statistics in Medicine http://www.ihs.ox.ac.uk/csm/ Wolfson College Annexe Tel : 01865 284 408 Linton Road, Oxford OX2 6UD Fax : 01865 284 424
2005 Nov 09
5
How to find statistics like that.
Hi there, Suppose mu is constant, and error is normally distributed with mean 0 and fixed variance s. I need to find a statistics that: Y_i = mu + beta1* I1_i beta2*I2_i + beta3*I1_i*I2_i + +error, where I_i is 1 Y_i is from group A, and 0 if Y_i is from group B. It is large when beta1=beta2=0 It is small when beta1 and/or beta2 is not equal to 0 How can I find it by R? Thank you very much
2008 Sep 11
9
How to load functions in R
Hello, I am trying to use self created functions in other scripts than the one where they are stored. For the moment I am using the following structure of commands to do that: 1. Load the text file with the functions in the current script: x=parse("path") 2. transform the tex in a function: f1=eval(x[1]), f2=eval(x[2]) if more than one function is stored in the text file 3. use the
2008 Aug 25
3
Maintaining repeated ID numbers when transposing with reshape
I have a dataset in "long" format that looks something like this: ID TEST RESULT 1 A 17 1 A 12 1 B 15 1 C 12 2 B 8 2 B 9 Now what I would like to do is transpose it like so: ID TEST A TEST B TEST C 1 17 15 12 1 12 . . 2
2005 Feb 25
2
display full form in args
...dig.lab = 3, ...) But sometimes I cannot use this workaround. e.g. args(merge.default) does not give the full form as in the help file. I find it almost always useful to see the full form. Is there a more reliable workaround or do I have to look up the help to be certain. Thank you. Regards, Adai
2004 Nov 29
2
[BASIC] Solution of creating a sequence of object names
...you're happy to know the solution, thanks should go to the person concerned. I thank all the three people named below. (1) my solution after reading the R-FAQ 7.21 as Uwe Ligges pointed out > for ( i in 1:10 ) { + assign(paste("my.file.", i, sep=""), NULL) + } > (2) Adai Ramasamy's solution > for(obj in paste("my.ftn", 1:10, sep="")) assign(obj, NULL) > ### or > > for(i in 1:10) assign(paste("my.ftn", i, sep=""), NULL) > (3) James Holtman's solution # For example, if you want to generate 10 groups...
2005 Aug 15
2
stepAIC invalid scope argument
...ale) 3: addterm.lm(fit, scope$add, scale = scale, trace = max(0, trace - 1), k = k, ...) 2: addterm(fit, scope$add, scale = scale, trace = max(0, trace - 1), k = k, ...) 1: stepAIC(mid, scope = list(upper = ~x1 + x2 + x3, lower = ~1)) Any pointers would be much appreciated. Thank you. Regards, Adai
2002 Dec 10
2
Variance of a single number
Just out of curiosity, can some please explain the following return NA. x <- 6 var(x) y <- c( NA, NA, 10000 ) var(y, na.rm=T) Unless I am seriously misguided, I believe that the variance of a single number (i.e. a constant) should be zero. Thanks. Regards, Adai.
2005 Feb 23
3
filling columns in frame according to another column frame
R-help, I have a frame which I want to fill up conditioning to another data frame column. The one I want to fill up is as follows (basically an empty one): > test2 cm 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 1 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 2 2 2 2 2 2 3 3 3 3
2004 Nov 04
2
list files ignoring the case option
...$" Here is how I am currently doing it in R a <- list.files(all.files=T) grep( "txt$", a, ignore.case=T, value=T ) Is it possible for me to modify the following line to include ignore case option ? a <- list.files( pattern="txt$" ) Thank you. Regards, Adai
2004 Sep 13
2
calculating memory usage
...thin R itself since I will test the algorithm several hundred times and in batch mode. So manually looking up 'top' may not be feasible. help.seach("memory") suggests memory.profile and gc but I am not sure how to use these. Sorry if this is a basic question. Thank you. Regards, Adai
2005 Sep 02
1
C-index : typical values
...0.031 0.025 0.006 0.023 200 1) Am I correct in assuming C-index = 0.5 * ( Dxy + 1 ) ? 2) If so, I am getting 0.5*(-0.3634+1) = 0.318 for the C-index. Does this make sense ? 3) Should I be using some other measurement instead of C-index. Thank you very much in advance. Regards, Adai
2008 Aug 24
1
howto optimize operations between pairs of rows in a single matrix like cor and pairs
...NA 18.9 18.9 19.7 3 NA NA NA 18.8 19.6 4 NA NA NA NA 19.6 5 NA NA NA NA NA Can I use apply() or any of it's family to optimize the codes? I have tried playing around with outer, kronecker, mapply without any sucess. Any suggestions? Thank you. Regards, Adai
2008 Sep 24
3
Is there a single command that can revert all the plotting parameters to default?
Hi, all, This might be a stupid question. Is there a single command in R that can revert parameters to default? It is much appreciated. Best wishes, Art Roberts University of Washington
2002 Sep 02
1
Coplot graph size manipulation
...(I have already set the option show.given = F) and less importantly ... c) How does one change the labels on the sub-axis (either x of y) to a given vector. d) How to rotate the axis label 45 degree counter clockwise. I tried par(las=1.5) etc without much luck. Many thanks in advance. Regards, Adai. -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at sta...