search for: adai

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

Did you mean: ada
2005 Aug 15
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
2005 Sep 02
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
2005 Feb 25
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
2005 Jul 25
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 Centre for Statistics in Medicine Wolfson College Annexe Tel : 01865 284 408 Linton Road, Oxford OX2 6UD Fax : 01865 284 424
2008 Aug 25
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
2008 Aug 24
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
2005 Aug 08
use different symbols for frequency in a plot
suppose I have the following data x<-c(rep(.1,5),rep(.2,6),rep(.4,10),rep(.5,20)) y<-c(rep(.5,3),rep(.6,8),rep(1.2,8),rep(2.5,18),rep(3,4)) If I plot(x,y) in R, I will only get seven distinct points. What I want to do is to use different symbols to show the frequency at each point. e.g. if the frequncey is between 1 and 5, then I plot the point as a circle; if the frequency is between 6
2008 Sep 17
unix-type commandline keystrokes in the windows RGUI
Hi all, I am generally quite fond of the unix commandline keystrokes (e.g. searching back in your history with [CTRL]-R, and cutting/pasting with [CTRL]-K/Y) which work in the R commandline in *nix. Does anyone know if there's any way to get similar functionality in the Windows RGUI? I know that as of now, [CTRL]-A and -E do the same as unix (beginning and end of line) and [CTRL]-Y
2002 Sep 02
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 Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r...
2006 Feb 06
Evaluate output after each rep()
Hi R-Help, I'm trying a develop a test simulation where i evaluate the probability of not getting a value of 100 from the function rbinom(6000, 200, .5) [indeed, a very small probability]. At the end of each rep, I would like to evaluate the output, continue with the loop if the output contains the value 100, stop if the output lacks a 100. How do I get R to evaluate the output after
2002 Jul 26
Parzen Windows
...this was available at one time in ksmooth() in S(plus). Cheers, Andy > From: ripley at [mailto:ripley at] > > Parzen windows is an engineer's term for kernel density estimation. > So, see packages KernSmooth, sm, .... > > On Fri, 26 Jul 2002, Adaikalavan Ramasamy wrote: > > > Does anyone know if there is a function in R that fits a > Parzen Window ? > > > > I have searched the mail archives and the packages to no > avail. Perhaps it > > has a different name or implemented differently. I do not > mind t...
2002 Aug 12
Attaching marginal summary plots to the main matrix plot
...e final example 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] Sent: Monday, August 12, 2002 5:27 AM To: r-help at 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 &l...
2004 Aug 15
index and by groups statement
Dear R-users Im working with a dataset that contains information for 8 groups of data and I need to select a sample of certain size (100 cubic feet by group) from this database for each of these 8 groups. To clarify, here is the starting code Im working with: k<-nrow(dataset) ix<-sort(runif(k),index.return=TRUE)$ix M<-max(which(cumsum(dataset$volume[ix])<100))+1
2005 Feb 24
a simple question
Dear All, I need to separate one column which is in a format like, "can_region", into two columns like, "can", and "region". Do we have a function in R to do this? Thanks. Regards, Jin [[alternative HTML version deleted]]
2005 Jul 19
R: expression
hi all i am having a problem with the expression/paste command say we estimate a variable, named PHI it contains the value of say 2 and we want to display this value as " hat(phi) = PHI" onto a graphic i.e. " hat(phi)=2 " how does one do this? i've tried the following: 1. legend(-5,.3,expression(hat(phi)*"="*PHI)) 2.
2007 Jul 26
princomp error
I am attempting to run principal components analysis on a dataset of spectral reflectance (6 decimal places). I imported the data using read.table and there are both column and row headers. When I run princomp I receive the following error: Error in cov.wt(z) : 'x' must contain finite values only Where am I going wrong? Ross
2010 Jan 22
lm on group
Hi all, I have a quick question about lm on group, say I have: x <- 1:10 y <- x*3 buckets <- seq(0, 10, by=5) g <- cut(x, buckets) summary(lm(y ~ g - 1)) Coefficients: Estimate Std. Error t value Pr(>|t|) g(0,5] 9.000 2.121 4.243 0.00283 ** g(5,10] 24.000 2.121 11.314 3.35e-06 *** What is it doing exactly? I guess the
2007 May 20
optional fields in function declarations; Solved
thank you to both Adaikalavan and Patrick. on the basis of Adaikalavan example this is an example that point out my problems. >log_raise=function(num, exp, base){return(log(num^exp,base))} I would like to have optional fields, so some settings to be default parameters; if I declare the function as above the opera...
2006 Feb 21
How to Import Data
Hello, I am a very new user of R. I've spent several hours trying to import data, so I feel okay asking the list for help. I had an Excel file, then I turned it into a "csv" file, as instructed by directions. My filename is "x111.csv." I then used the following commands to read this (fairly small) dataset in. x111 <-read.table(file='x111.csv',
2008 Sep 14
i calculated the density and wanna do something like this separate in 0-19-29-39-49-59-69-79-99 and put in these spaces 8 densities .. 0.something i have the frequency in % and divided already in 20 or 10 to get the density i tried and tried..made breaks vector to separate but couldn't put the other vector with the frequency density onit directly anyone know how to do it?? tks