search for: ramasamy

Displaying 20 results from an estimated 113 matches for "ramasamy".

2005 Jul 25
5
passing formula arguments cv.glm
...quot;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
2004 Sep 06
4
substitution in expression
...te(x, expression(Delta), "values")) plot(1:10, main=paste(x, eval(expression(Delta)), "values")) plot(1:10, main=paste(x, expression(Delta, "values" ))) plot(1:10, main=paste(x, expression(paste(Delta, "values" )))) Many thanks. Regards, -- Adaikalavan Ramasamy ramasamy at cancer.org.uk Centre for Statistics in Medicine http://www.ihs.ox.ac.uk/csm/ Cancer Research UK Tel : 01865 226 677 Old Road Campus, Headington, Oxford Fax : 01865 226 962
2004 Mar 15
2
make check on Solaris 8 fails due to plot
...TRUE TRUE TRUE TRUE TRUE TRUE > plot( 1:10 ) Bus Error and R terminates to the shell prompt. I have searched the archives with no success. Can anyone kindly help me fix the problem or at least show me how to get more information about the error. Thank you. -- Adaikalavan Ramasamy ramasamy at cancer.org.uk Medical Statistician Centre for Statistics in Medicine http://www.ihs.ox.ac.uk/csm/ Medical Statistics Group Tel : 01865 226 677 Cancer Research UK Fax : 01865 226 962
2004 Oct 01
3
same test statistic for t-test with and without equal variance assumption
...n1-1)*v1 + (n2-1)*v2 )/(n1 + n2 - 2) denom2 <- sp * sqrt( 1/n1 + 1/n2 ) num / denom2 # gives 0.5913777 I tested this using R-1.9.1 (21/06/2004) on Redhat Fedora Core 2 and Windows 2000 Professional with the same results. Any suggestions would be kindly appreciated. Regards, -- Adaikalavan Ramasamy ramasamy@cancer.org.uk Centre for Statistics in Medicine http://www.ihs.ox.ac.uk/csm/ Cancer Research UK Tel : 01865 226 677 Old Road Campus, Headington, Oxford Fax : 01865 226 962
2005 Nov 06
3
How can I assign an argument to transfer whether by ref or by value?
Hello guys, I am wondering the default way of transferring arguments in R. Is it by value or by ref in default case, or could that be changed explicitly? Cheers, Xiaofan --- Xiaofan Li Department of Applied Mathematics and Theoretical Physics University of Cambridge
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
2007 Jul 24
7
Obtaining summary of frequencies of value occurrences for a variable in a multivariate dataset.
Hi all, If the question below as been answered before I apologize for the posting. I would like to get the frequencies of occurrence of all values in a given variable in a multivariate dataset. In short for each variable (or field) a summary of values contained with in a value:frequency pair, there can be many such pairs for a given variable. I would like to do the same for several such variables.
2005 Mar 02
5
Differences between package and library terminology
Just out of curiosity, what is the difference between the terms for package and library ? Why are we loading a package with the library() command ? If this is a case of RTFM, I would be happy to do so if pointed in the right direction. 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
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
2004 Jul 30
2
pairwise difference operator
...t) A.vs.B A.vs.C A.vs.D B.vs.C B.vs.D C.vs.D g1 -6 7 -5 13 1 -12 g2 13 6 -1 -7 -14 -7 g3 3 -1 -6 -4 -9 -5 g4 12 8 3 -4 -9 -5 g5 16 -3 8 -19 -8 11 Regards, -- Adaikalavan Ramasamy ramasamy at cancer.org.uk Centre for Statistics in Medicine http://www.ihs.ox.ac.uk/csm/ Cancer Research UK Tel : 01865 226 677 Old Road Campus, Headington, Oxford Fax : 01865 226 962
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]]
2002 Jul 15
2
meaning of error message about collinearity
.... Even then you still have 80 variances to estimate. Besides, I don't think lda() does that. If you really have to discrinimate 40 data points with 80 variables, use methods that do not rely on the estimation of covariance matrix. Andy > -----Original Message----- > From: Adaikalavan Ramasamy [mailto:ramasamy at stats.ox.ac.uk] > Sent: Friday, July 12, 2002 4:08 PM > To: r-help at r-project.org; allstat at jiscmail.ac.uk > Subject: [R] meaning of error message about collinearity > > > Just a quick question. I am trying to fit an LDA model with a > restricted >...
2004 Nov 29
2
[BASIC] Solution of creating a sequence of object names
...39;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 # of 5...
2003 Mar 17
4
X11 connection error in web cgi mode only
Dear all, I am trying to create a web interface using Perl-CGI to call R plots and to display them. The following codes works perfectly fine when I copy and paste into the console directly or if I save it into script.file and then R --no-save < script.file producing the graphs. jpeg("graph.jpeg", width=400, height=400) plot(rnorm(100)) dev.off() Now, I put the line system("R
2003 Dec 10
3
How to calculate standard error for a vector?
Hi all! I 'm beginner and i develop a bio-application with VB and i need some statistic functions! could i calculate StdError, CoeffOfVariance, SumSquared with R langage? if yes, what are functions to use? I need also to use ANOVA and t-test... Thanks for your help! Laurent Houdusse Analyste Programmeur
2005 Feb 25
2
display full form in args
Forgive me for I do not fully comprehend the idea of classes and methods but I was wondering if someone could help explain why the function args () behaves the way it does. Why does args(cut) show the simplified version instead of the more complete one as in help("cut"). This is true for few other functions (e.g. plot, rep). > args(cut) function (x, ...) Sometime I can get
2005 Jan 26
3
Still avoiding loops
Dear all, I have a matrix X with 47 lines and say 500 columns - values are in {0,1}. I'd like to compare lines. For that, I first did: for (i in 1:(dim(X)[1]-1)) for (j in (i+1):dim(X)[1]) { Y <- X[i,]+Y[j,] etc. but, since it takes a long time, I would prefer avoding loops; for that, my first idea was to add this matrix: X1=X[,rep(1:46,46:1)] to this one: res=NULL for (i in
2005 Mar 15
4
How to extract x rows to get x pvalues using t.test
Hi all, My data genes [,1] [,2] [,3] [,4] [1,] 25 72 23 55 [2,] 34 53 41 33 [3,] 26 43 26 44 [4,] 36 64 64 22 [5,] 47 72 67 34 stu<-t.test(genes[,1:2],genes[,3:4]) > stu$p.value [1] 0.4198002 i get 1 pvalue for the entire col1:col2 Vs col3:col4. I am trying to get 5 p values for the 5 rows i have. I am trying to avoid a for loop coz my
2005 Jun 15
3
how to plot density distribution with a arrow pointer?
Hi all, for example: > X<- rnorm(1000) > X0 <- 0.899 I want to draw a density distribution plot with a arrow pointer indicating the position of X0, meanwhile, giving out the p-value. any functions? Thanks very much.
2002 Aug 12
0
Attaching marginal summary plots to the main matrix plot
...ple does pretty much what you're asking about (with a scatterplot and histograms, but the idea should be the same). Hope this helps, Matthew Wiener Applied Computer Science & Mathematics Dept. Merck Research Labs Rahway, NJ 07090 732-594-5303 -----Original Message----- From: Adaikalavan Ramasamy [mailto:ramasamy at stats.ox.ac.uk] Sent: Monday, August 12, 2002 5:27 AM To: r-help at stat.math.ethz.ch Subject: [R] Attaching marginal summary plots to the main matrix plot Dear helplist, I am trying to visualise a datamatrix together with its marginal densities. Suppose dat <- matrix( rnor...