Re: [R] Help with reading code

2008-12-04 Thread Dana77
Thank you, Steven. It helps! Best, Dana Steven McKinney wrote: > > Hi Dana > >> -Original Message- >> From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] >> On Behalf Of Dana77 >> Sent: Wednesday, December 03, 2008 3:24 PM >> To: r-help@r-project.org >> Subject: [R] Help with reading

[R] How to add ability to ignore NA values to my own function?

2008-12-04 Thread pufftissue pufftissue
Hi, I obtained custom code for the infamous HL test, which I know is frowned upon here. In any event, I'm feeding it a matrix and a data frame. How can I set the function to ignore missing values? I tried: HL <- function(p, y, NA.rm=T) { options(na.action=na.exclude) y <- y[order(p)]; p <- p

Re: [R] Running R under Sun Grid Engine with OpenMPI tight integration

2008-12-04 Thread Rainer M Krug
On Fri, Dec 5, 2008 at 12:11 AM, Sean Davis <[EMAIL PROTECTED]> wrote: > On Thu, Dec 4, 2008 at 5:21 AM, Rainer M Krug <[EMAIL PROTECTED]> wrote: >> Did you make any progress in using R in the SGE / OpenMPI environment? >> I am asking, because I am struggling with the same problem. Using qsub >> do

[R] Yet another set of codes to optimize

2008-12-04 Thread Daren Tan
I have problems converting my dataset from long to wide format. Previous attempts using reshape package and aggregate function were unsuccessful as they took too long. Apparently, my simplified solution also lasted as long. My complete codes is given below. When sample.size = 1, the execu

[R] making sense of posterior statistics in the deal package

2008-12-04 Thread Aaron Tarone
Hello, I'm doing bayesian network analyses with the deal package. I am at a loss for how to interpret output from the analysis (i.e. what is a good score, what is a bad score, which stats tell me what about the network edges/nodes). Here is an example node with its posterior scores for all

Re: [R] How to optimize this codes ?

2008-12-04 Thread Daren Tan
Hi William, Thanks for your suggestion. I learn alot from it, some concepts are new which need some digestion. > Subject: Re: [R] How to optimize this codes ?> Date: Thu, 4 Dec 2008 11:49:30 -0800> From: [EMAIL PROTECTED]> To: [EMAIL PROTECTED]> CC: [EMAIL PROTECTED]> > > -Original Messa

Re: [R] R] adding a new dataset to the default R distribution

2008-12-04 Thread John Maindonald
Making data, especially data that have been the subject of published papers, widely available, can be a useful spinoff from the R project, another gift to the scientific community beyond the provision of computing and analytic tools. Nowadays, in a complete publication of a scientific resu

[R] Question about lrandom effects specification in lme4 : Correction

2008-12-04 Thread Bert Gunter
... Of course what I should have said is: lmer( y ~ ... + (-1+A|Grp) + (-1+B|Grp) + (-1+C|Grp)) Cheers, Bert Gunter Genentech __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://ww

Re: [R] Formula parsing and updating

2008-12-04 Thread Charles C. Berry
On Thu, 4 Dec 2008, Johannes Huesing wrote: Hi all, I can't come over a problem with formula. Suppose I have a coxmod model with the following formula: somemod$formula Surv(lebzeit, tot == 1) ~ sex + (alter >= 65) + diff3k + zelltyp_k_c + q_nuc_3k + kar_k80_g80 + stadium You need to give

[R] Question about lrandom effects specification in lme4

2008-12-04 Thread Bert Gunter
Folks: Suppose I have 3 random effects, A,B, and C. Using the older lme() function (in nlme) it was possible (using the pdMat classes) to specify that they are uncorrelated with identical variances. Is it possible to do this with lmer? My understanding is that if I specify them as lmer( y ~ ...

[R] integration within maximum likelihood

2008-12-04 Thread Cristian Angelo Guevara
Hi: I'm trying to estimate a latent variable model in mnl discrete choice framework using R. I need to do first a uni dimensional integral within each observation (row) in the database and then sum over observations. I'm stacked in the point shown below. Apparently I have a dimensionality problem

Re: [R] How to get Greenhouse-Geisser epsilons from anova?

2008-12-04 Thread Peter Dalgaard
Skotara wrote: Dear all, I apologize for my basic question. I try to calculate an anova for repeated measurements with 3 factors (A,B,C) having 2, 2, and 7 levels. or with an additional fourth between subjects factor D. Everything works fine using aov(val ~ A*B*C + Error(subject/ (A*B*C) ) )

Re: [R] Running R under Sun Grid Engine with OpenMPI tight integration

2008-12-04 Thread Sean Davis
On Thu, Dec 4, 2008 at 5:21 AM, Rainer M Krug <[EMAIL PROTECTED]> wrote: > Did you make any progress in using R in the SGE / OpenMPI environment? > I am asking, because I am struggling with the same problem. Using qsub > does not give me an interactive session which I can use (wherefore I > don't s

[R] Plotting a kriging on a map

2008-12-04 Thread Rodrigo Aluizio
Hi list, Well, this time I’ve a doubt with mapping generation. I was already able to read and plot shapefiles, plot point on this map. All this without any problems, but now I want to do something that I think, only Golden Software Surfer is capable of. I would like to plot a kriging result on t

[R] comparing SAS and R survival analysis with time-dependent covariates

2008-12-04 Thread Svetlana Eden
Dear R-help, I was comparing SAS (I do not know what version it is) and R (version 2.6.0 (2007-10-03) on Linux) survival analyses with time-dependent covariates. The results differed significantly so I tried to understand on a short example where I went wrong. The following example shows that

[R] Formula parsing and updating

2008-12-04 Thread Johannes Huesing
Hi all, I can't come over a problem with formula. Suppose I have a coxmod model with the following formula: > somemod$formula Surv(lebzeit, tot == 1) ~ sex + (alter >= 65) + diff3k + zelltyp_k_c + q_nuc_3k + kar_k80_g80 + stadium and I want to drop the stadium explanatory variable from the m

Re: [R] How to optimize this codes ?

2008-12-04 Thread William Dunlap
> -Original Message- > From: William Dunlap > Sent: Thursday, December 04, 2008 9:59 AM > To: '[EMAIL PROTECTED]' > Cc: 'R help' > Subject: Re: [R] How to optimize this codes ? > >[R] How to optimize this codes ? >Daren Tan daren76 at hotmail.com >Thu Dec 4 17:02:49 CET 2008 >

[R] Approximate matching: agrep and TRE?

2008-12-04 Thread Stavros Macrakis
agrep{base} is very useful, but it would be very useful to also have the offset of the first match returned, e.g. agrepx("foo","sdxforzoo",max.distance=1) => 4 (there is room for quibbling over the definition of first match...). As far as I can tell, the only way to do that now is to do multiple ag

[R] How to get Greenhouse-Geisser epsilons from anova?

2008-12-04 Thread Skotara
Dear all, I apologize for my basic question. I try to calculate an anova for repeated measurements with 3 factors (A,B,C) having 2, 2, and 7 levels. or with an additional fourth between subjects factor D. Everything works fine using aov(val ~ A*B*C + Error(subject/ (A*B*C) ) ) or aov(val ~ (D

Re: [R] RODBC - problems connecting to oracle through linux

2008-12-04 Thread Simon Collins
Just an update to this - it is possible to connect to an 11G database via using the oracle 10G (libsqora.so.10.1) driver. Quoting "Prof Brian Ripley" <[EMAIL PROTECTED]>: On Fri, 28 Nov 2008, Simon Collins wrote: Hi I'm presently trying to connect to Oracle through RODBC / UnixODBC on

Re: [R] Writing a list help

2008-12-04 Thread Jagat.K.Sheth
You can get all the rownames by calling write.table once on something like # if all list elements have equal length t(data.frame(MyList)) # otherwise, let NA extend where needed t(do.call(cbind, lapply(MyList, ts))) You can take care of NAs as needed on your end. HTH -Original Message---

Re: [R] readAsciiGrid memory issues

2008-12-04 Thread Roger Bivand
csiro.au> writes: > > > Hi List, > > I am unable to read in a 7.8Gb ascii grid using readAsciiGrid {maptools} - R runs out of memory. I have 4Gb ram > and 4Gb swap, so things are getting tight. This function is written for small rasters only, and is not suited to data of this size. > > I

Re: [R] Simulating underdispersed counts

2008-12-04 Thread Greg Snow
Yes, that is basically truncation, but the original poster said they wanted something fast and did not give detail. If they just wanted some data to put into a glm model to demonstrate, then this would work. Another idea that I had is instead of dropping all the extreme values, is take the ext

Re: [R] TreeMap Graphs

2008-12-04 Thread jim holtman
Checkout the portfolio package. On Thu, Dec 4, 2008 at 9:44 AM, <[EMAIL PROTECTED]> wrote: > Hi all > > Is there an R package that enables me to generate "squarified treemap" plots? > > Thanks > Rory > > Rory Winston > RBS Global Banking & Markets > 280 Bishopsgate, London, EC2M 4RB > Office: +4

Re: [R] How to optimize this codes ?

2008-12-04 Thread William Dunlap
[R] How to optimize this codes ? Daren Tan daren76 at hotmail.com Thu Dec 4 17:02:49 CET 2008 How to optimize the for-loop to be reasonably fast for sample.size=1 ? You may want to change sample.size=1000 to have an idea what I am achieving. set.seed(143) A <- mat

Re: [R] Post Hoc methods for anova in R

2008-12-04 Thread Greg Snow
There are the multcomp and multtest packages as well as various tools in other packages (estimable in gmodels, TukeyHSD in stats, etc.). Do any of these do what you want? If not, then some more detail would help us help you. -- Gregory (Greg) L. Snow Ph.D. Statistical Data Center Intermountain

Re: [R] Simulating underdispersed counts

2008-12-04 Thread Gerard M. Keogh
V interesting point Greg. But are you not just suggesting left and right truncation? It strikes me that if the data are Poission then a mixture is likely to be better - something akin to zero-deflated. Neg binomail works for greater variance == mix a gamma and poisson, but I'm unsure what to mix t

[R] occurrence of a weekday in a month

2008-12-04 Thread Alina Sheyman
I'm trying to establish the occurrence of a specific day of the week in a given month. Namely I want to know if a specific Tuesday was the 2nd,3rd Tuesday in a month. Is there a good way to this in R? thank you, Alina Sheyman [[alternative HTML version deleted]] ___

Re: [R] Writing a list help

2008-12-04 Thread Greg Snow
What are you planning to do with the file after it is created? The best way depends on what you want to do. The write.table function may not be the best choice, there are several functions for writing data to files including dump, write, cat, save, and probably others, some of these will write

Re: [R] R simulations

2008-12-04 Thread Barry Rowlingson
2008/12/4 João Cruz <[EMAIL PROTECTED]>: > I need help with these R simulations Try asking 'jrrbc', who has asked the exact same questions on this forum: http://www.artofproblemsolving.com/Forum/viewtopic.php?p=1338520#1338520 where he does at least admit this is Master's course homework. Oh ha

Re: [R] changing colnames in dataframes

2008-12-04 Thread Wolfgang Lindner
thank you all, Jagat, Bert and Prof. Ripley for your kind help. The PROBLEM was: give descripitve names to the columns in JJ<-data.frame( c( as.character(rep( gender,3))) , c( F76,6- F83, F90) ) Possible SOLUTIONs are: 1.JJ <- data.frame( gender=c( as.character(rep( gender,3))) , J.value=c(

Re: [R] Simulating underdispersed counts

2008-12-04 Thread Greg Snow
Accurate probably depends on what exactly you want to accomplish with the simulation, but one simple approach would be to generate more data than you need from a regular Poisson distribution, then throw away the extreme values on both sides. -- Gregory (Greg) L. Snow Ph.D. Statistical Data Cent

Re: [R] R simulations

2008-12-04 Thread Greg Snow
Your teacher did not assign this homework to you because he/she does not know the answer, rather he/she has some vague hope that by You doing Your homework You may actually learn something. The chances of You learning something (supposedly the purpose behind you taking the class) is greatly inc

[R] (no subject)

2008-12-04 Thread Alina Sheyman
I'm trying to establish the occurrence of a specific day of the week in a given month. Namely I want to know if a specific Tuesday was the 2nd,3rd Tuesday in a month. Is there a good way to this in R? thank you, Alina Sheyman [[alternative HTML version deleted]] ___

Re: [R] setwd and list.files / linux

2008-12-04 Thread Marc Schwartz
on 12/04/2008 10:38 AM Lars Beckmann wrote: > Hey, > > two questions regarding setwd and list.files: > > I try to use the function list.files: > >> datapath<-'/nfs/home/m/cremer/gaw/data/traws_chrs' > >> fl<-list.files(datapath, pattern="\\.tped") > > but I get the following error message: >

[R] Writing a list help

2008-12-04 Thread Rajasekaramya
hi there, I have a list called MyList. MyList[[1]] [1] "SRY" [2] "RPS4Y1" [3] "ZFY"

[R] setwd and list.files / linux

2008-12-04 Thread Lars Beckmann
Hey, two questions regarding setwd and list.files: I try to use the function list.files: >datapath<-'/nfs/home/m/cremer/gaw/data/traws_chrs' >fl<-list.files(datapath, pattern="\\.tped") but I get the following error message: Warning message: In list.files(datapath, pattern = "\\.tped") : li

[R] calculating Guttman's Scale

2008-12-04 Thread Or Duek
Does R has some option on calculating the Guttman's scale? thank you. [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.or

[R] How to optimize this codes ?

2008-12-04 Thread Daren Tan
How to optimize the for-loop to be reasonably fast for sample.size=1 ? You may want to change sample.size=1000 to have an idea what I am achieving. set.seed(143) A <- matrix(sample(0:1, sample.size, TRUE), ncol=10, dimnames=list(NULL, LETTERS[1:10])) B <- list() for(i in 1:10) {

Re: [R] Creating Tabel for Mean, Deviance

2008-12-04 Thread Edwin Sendjaja
Hi, Thank you Stefan, I think, this package will do what I want. Edwin > Edwin Sendjaja schrieb: > > Hi, > > > > Can someone help me how to create a table for Min, Max, Mean, Deviance. > > Try the summaryBy function of the doBy package. The package has an > excellent vignette (=documentation).

Re: [R] Re sampling from an ECDF

2008-12-04 Thread Charles C. Berry
On Thu, 4 Dec 2008, Spiderschwein wrote: Say F_n is my ecdf, generated from my sample x. With sample(x, 2000, replace = TRUE) I get a uniformly distributed sample from x. Which is not the same as uniformly from unique(x). But I need a (re)sample, which is F_n distributed. Now I'm confused,

Re: [R] how to automatically maximize the graph window (under XP) ?

2008-12-04 Thread pieterprovoost
Hi, If you have Python running on your system you could create this script (graphics.py): import win32api import win32con import win32gui def windowEnumerationHandler(hwnd, windowlist): windowlist.append((hwnd, win32gui.GetWindowText(hwnd))) mywindows = [] win32gui.EnumWindows(windowEnumerat

[R] Changing 'record' option in open graphics device

2008-12-04 Thread Andrew Hooker
Hi, I am wondering if there is a way to change the value of the "record" option in a graphics device that is already open (and accepts this option). I don't want to open a new device with, for example "dev.new(record=T)", but just want to change the settings of the current device. This can be

[R] package plm

2008-12-04 Thread Andrea Ferroni
Dear R help, I use the package plm e the function plm() to analyse a panel data and estimate a dynamic model. How can I estimate a model without intercept? Thanks, Andrea Ferroni [[alternative HTML version deleted]] __ R-help@r-project.org

[R] Simulating underdispersed counts

2008-12-04 Thread René Holst
Hello, Anyone who knows a fast and accurate algorithm for generating draws from an underdispersed Poisson distribution. Or even better, if there is a package containing such an implementation. Thanks Rene __ R-help@r-project.org mailing list https:/

[R] reading files (readOGR) and non-ascii characters

2008-12-04 Thread Agustin Lobo
I'm forwarding to this list as I've got no answer in [R-sig-Geo] and perhaps this issue is not exclusive of readOGR() I'm using ubuntu 8.04 andR version 2.8.0 (2008-10-20) Original Message Subject: readOGR and non-ascii characters Date: Wed, 03 Dec 2008 14:22:34 +0100 From: Ag

[R] R simulations

2008-12-04 Thread João Cruz
I need help with these R simulations ___ The generation of pseudo-random numbers with uniform distribution [0.1] can be done through a method called Congruencial Committee, which consists the use of a recursive relationship of the type: xi +1 = (a.xi + c) mod

[R] How to plot grouped replicates into a single panel using lattice (xyplot)?

2008-12-04 Thread Christoph Hösler
Hello, I want to plot replicates of an experiment which are already grouped by a different factor than the replicate number into a single panel using the xyplot function from the lattice lib. Example: My data.frame consists of the following collumns: x, y, factor_for_y, replicate_no, se

Re: [R] Re sampling from an ECDF

2008-12-04 Thread Spiderschwein
Say F_n is my ecdf, generated from my sample x. With sample(x, 2000, replace = TRUE) I get a uniformly distributed sample from x. But I need a (re)sample, which is F_n distributed. Now I'm confused, if that makes a difference or not... Regards, Martin Dimitris Rizopoulos-4 wrote: > > say 'x'

Re: [R] Creating Tabel for Mean, Deviance

2008-12-04 Thread Stefan Grosse
Edwin Sendjaja schrieb: > Hi, > > Can someone help me how to create a table for Min, Max, Mean, Deviance. > > Try the summaryBy function of the doBy package. The package has an excellent vignette (=documentation). hth Stefan __ R-help@r-project.org

[R] xspline, graphical parameters and MAXNUMPTS

2008-12-04 Thread Keith Ponting
Hello, I am having two difficulties with xspline: 1) Passing lty=2 (via ...) appears to have no effect 2) Apparently depending on the current plot axes, I may or may not get the failure: add_point - reached MAXNUMPTS (25200) This happens both on Linux/R 2.8.0 (details below) and Wi

[R] TreeMap Graphs

2008-12-04 Thread Rory.WINSTON
Hi all Is there an R package that enables me to generate "squarified treemap" plots? Thanks Rory Rory Winston RBS Global Banking & Markets 280 Bishopsgate, London, EC2M 4RB Office: +44 20 7085 4476 *** The Royal

Re: [R] Random Forest weighting

2008-12-04 Thread Liaw, Andy
If I understand your situation correctly, you may be able to make use of the "strata" and "sampsize" arguments in randomForest() to get bootstrap samples that resemble the original data distribution. They allow you to specify stratified samples using the "strata" variable. Best, Andy From: Ragh

Re: [R] Colors in barplot

2008-12-04 Thread Antje
Hi Benjamin, thanks for the hint. In barplot.default I found "grey.colors(nrow(height))" :-) (I had the same problem with the help file for grey.colors) Ciao, Antje Nutter, Benjamin schrieb: I believe the defaults in barplot are found using grey.colors{GrDevices}. ?grey.colors (For some re

Re: [R] small numbers

2008-12-04 Thread Robin Hankin
Hi use the logarithmic representation for your problem. The Brobdingnag package uses such a form in a (more-or-less) user-transparent manner. HTH rksh Marc Jekel wrote: Dear R Fans, I have a simple probem but cannot find any reference to the soultion. I want to do calculations with small n

Re: [R] Logistic Regression: variable selection based on p value?

2008-12-04 Thread Frank E Harrell Jr
pufftissue pufftissue wrote: Hi, When I use logistic regression, each variable has a p value associated with it. Do I only include the variables that have a statistically significant p value (<0.05), or are there situations when I should include variables when their p values are high? I had he

Re: [R] Getting Odds ratios for tree branches-CART model

2008-12-04 Thread Frank E Harrell Jr
jestinah mahachie wrote: Dear all, I have been using rpart to get trees. May someone help me with how I can do some logistic regression modelling to derive odds ratios on the branches. Also help on how to derive estimates on prediction error. -- Kind Regards, Jestinah The odds ratios from

[R] Comparing survival curves with "survdiff" "strata" help

2008-12-04 Thread Richardson, Patrick
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)

Re: [R] Logistic Regression: variable selection based on p value?

2008-12-04 Thread Erik Iverson
Puff - There are many strategies, ideas, and literature on this topic. A great introduction that leads to many of the references that are interesting is Frank Harrell's book, "Regression Modeling Strategies". I would highly recommend it. pufftissue pufftissue wrote: Hi, When I use logi

[R] small numbers

2008-12-04 Thread Marc Jekel
Dear R Fans, I have a simple probem but cannot find any reference to the soultion. I want to do calculations with small numbers (for max likelihood estimations). The lowest value R is storing by default is 1*10^-323, a smaller numer like 1*10^-324 is stored as a 0. How can I circumvent this pro

Re: [R] Strplit code

2008-12-04 Thread Wacek Kusnierczyk
Gabor Grothendieck wrote: > R does not support tail recursion so not using it would > not matter. > > this is a feature, i guess. another issue is that the recursive calls receive substrings as arguments, which means copying the whole remaining content, and the copies would not be deallocated

Re: [R] How can I create transparant colour

2008-12-04 Thread Prof Brian Ripley
Well, if it is transparent then you will not see it: I presume you mean translucent (aka semi-transparent). With 50% opacity you could use red <- rgb(0x9E, 0x47, 0x70, 127, max=255) polygon(xvalue1,yvalue1,col=red,border=red) See ?rgb. You can also specify a translucent colour as e.g. "#9E477

Re: [R] Strplit code

2008-12-04 Thread Gabor Grothendieck
R does not support tail recursion so not using it would not matter. On Thu, Dec 4, 2008 at 5:04 AM, Wacek Kusnierczyk <[EMAIL PROTECTED]> wrote: > John Fox wrote: >> By coincidence, I have a version of strsplit() that I've used to >> illustrate recursion: >> >> Strsplit <- function(x, split){ >>

[R] How can I create transparant colour

2008-12-04 Thread Dr. Alireza Zolfaghari
Hi list, Does any one know how I can make the red colour transparant? # par() #Set up blank plot to remove plot border type lty="n" xvalue1<- c(1,2,2,1) xvalue2<- c(1,3,3,1) yvalue1<- c(0,0,22,22) yvalue2<- c(0,0,44,44) plot(c(min(xvalue2),max(xvalue2)),c(min(yvalue2),max(y

Re: [R] Colors in barplot

2008-12-04 Thread Nutter, Benjamin
I believe the defaults in barplot are found using grey.colors{GrDevices}. ?grey.colors (For some reason my machine won't pull up the help files for grey.colors from the command line, but I can still access it through the html help). -Original Message- From: [EMAIL PROTECTED] [mailto:[EMA

Re: [R] Strplit code

2008-12-04 Thread Wacek Kusnierczyk
John Fox wrote: > Dear Wacek, > > "Wrong" is a bit strong, I think -- limited to single-pattern characters is > more accurate. nothing is ever wrong if seen from an appropriate perspective. for example, there is nothing wrong in that many core functions in r deparse some, but not all, of the arg

Re: [R] Strplit code

2008-12-04 Thread John Fox
Dear Wacek, "Wrong" is a bit strong, I think -- limited to single-pattern characters is more accurate. Moreover, it isn't hard to make the function work with multiple-character matches as well: Strsplit <- function(x, split){ if (length(x) > 1) { return(lapply(x, Strsplit, split)) #

[R] Colors in barplot

2008-12-04 Thread Antje
Hello, Can anybody help me to find out which colors are used automatically when calling barplot (e.g. 3 series beside each other will get different gray values). I want to apply a legend but I don't know the colors used... Antje __ R-help@r-project.

Re: [R] Re sampling from an ECDF

2008-12-04 Thread Dimitris Rizopoulos
say 'x' is your sample, then try sample(x, 2000, replace = TRUE) I hope it helps. Best, Dimitris Spiderschwein wrote: Good day everyone, I have about 500 values to generate my ecdf. Now I want to sample 2000 values i.i.d. distributed according to my ecdf. Is it possible to sample from an

[R] Re sampling from an ECDF

2008-12-04 Thread Spiderschwein
Good day everyone, I have about 500 values to generate my ecdf. Now I want to sample 2000 values i.i.d. distributed according to my ecdf. Is it possible to sample from an ecdf? If yes, I would appreciate your help. Martin -- View this message in context: http://www.nabble.com/Resampling-fro

Re: [R] Running R under Sun Grid Engine with OpenMPI tight integration

2008-12-04 Thread Rainer M Krug
Did you make any progress in using R in the SGE / OpenMPI environment? I am asking, because I am struggling with the same problem. Using qsub does not give me an interactive session which I can use (wherefore I don't see a way of using RMPISNOW and getMPIcluster()) and the spawning (makeMPIcluster(

Re: [R] Strplit code

2008-12-04 Thread Wacek Kusnierczyk
John Fox wrote: > By coincidence, I have a version of strsplit() that I've used to > illustrate recursion: > > Strsplit <- function(x, split){ > if (length(x) > 1) { > return(lapply(x, Strsplit, split)) # vectorization > } > result <- character(0) > if (nchar(x) == 0) r

Re: [R] Getting Odds ratios for tree branches-CART model

2008-12-04 Thread jestinah mahachie
Dear all, > I have been using rpart to get trees. May someone help me with how I can do > some logistic regression modelling to derive odds ratios on the branches. > Also help on how to derive estimates on prediction error. > > -- > Kind Regards, > > Jestinah > > > > Home Address: > Brusselsepoo

Re: [R] Howto Add Labels Next To Markers in Scatter Plot

2008-12-04 Thread Chuck Cleland
On 12/4/2008 12:59 AM, Gundala Viswanath wrote: > Dear all, > > How can I plot the data below with scatter plot > so that the next to the marker it contain the label for "species" > > __DATA__ > class true_hits false_hits species > big 2350180 lion > big 375 20 dog

[R] useR!2009 conference announcement

2008-12-04 Thread Francois Husson
We are happy to inform you that the online abstract submission and registration for `useR! 2009' is now available online from http://www.R-project.org/useR-2009/ This meeting of the R user community will take place at Agrocampus, Rennes, France, July 8 to 10, 2000. The conference schedule comp

Re: [R] Creating Tabel for Mean, Deviance

2008-12-04 Thread Jim Lemon
Edwin Sendjaja wrote: Hi, Can someone help me how to create a table for Min, Max, Mean, Deviance. Hi Edwin, You might find that the describe function in the prettyR package does what you want. Jim __ R-help@r-project.org mailing list https://st