[R] Tinn-R keyboard problem

2008-08-23 Thread Sermin Gungor
The right hand side of my keyboard (Enter, shift, arrows, etc.) just stopped working only when I am using Tinn-R. It works perfectly fine with any other application. To check if there was a problem with my keyboard I connected an external keyboard and the same keys did not work with that either. I

Re: [R] how to call a C-library in R

2008-08-23 Thread rcoder
Hi Cindy, Take a look at the following. This should help get you started. http://www.stat.umn.edu/~charlie/rc/ rcoder cindy Guo wrote: > > Hi, everyone, > > I need to use a C library. But since I have little experience in C, I want > to call this C library in R and program the rest in R. Do

Re: [R] [BioC] similarity between two gene lists with varied length

2008-08-23 Thread Weiwei Shi
Actually, making this question more nontrivial is, 1. the lengths for the two gene lists are very different; 2. I could add another list as gene weight to any gene, for example, of union of two gene lists. On Sun, Aug 24, 2008 at 9:15 AM, Shannon, William <[EMAIL PROTECTED]>wrote: > First thought

[R] similarity between two gene lists with varied length

2008-08-23 Thread Weiwei Shi
Dear listers, a little off-topic: I am looking for and compare algorithms which can calculate "distance" or "similarity" between two gene lists with different lengths. Any paper, any implementation in R and any suggestion is welcome! Thanks, -- Weiwei Shi, Ph.D Research Scientist GeneGO, Inc.

[R] Adding a common legend to an arrangement of plots

2008-08-23 Thread Nelson Villoria
Dear Users, I would like to know if there is a way to add a common legend to an arrangement of plots. In the example below, I get four plots in my device. each one has a density for 1995 and one for 2006. I have found that using legend or smartlegend I can add a legend to each plot, but I am lookin

Re: [R] how to call a C-library in R

2008-08-23 Thread Douglas Bates
On Sat, Aug 23, 2008 at 3:56 PM, cindy Guo <[EMAIL PROTECTED]> wrote: > Hi, everyone, > > I need to use a C library. But since I have little experience in C, I want > to call this C library in R and program the rest in R. Does anyone know how > to do this? Yes, I do. Assuming that your next quest

[R] open source data mining on tap anyone ?

2008-08-23 Thread Ajay ohri
http://decisionstats.com/2008/ohri/ Some time back, I had created a framework for data mining through on demand cloud computing. This is the next version- it is free to use for all, with only authorship credit back to me………….. NOTE - i DO retain authorship credit rights (even though it i

[R] how to call a C-library in R

2008-08-23 Thread cindy Guo
Hi, everyone, I need to use a C library. But since I have little experience in C, I want to call this C library in R and program the rest in R. Does anyone know how to do this? Thanks, Cindy [[alternative HTML version deleted]] __ R-help@r-pr

Re: [R] graphs for pretest data

2008-08-23 Thread hadley wickham
On Sat, Aug 23, 2008 at 1:10 PM, Michael Kubovy <[EMAIL PROTECTED]> wrote: > Dear Juliet, > > Perhaps start here: > > require(lattice) > mwpp <- data.frame(y = c(43,42,26,39,60,60,46,40,41,36,42,54, >58,43,46,56,81,56,70,70,44,52,81,59,69,68), >sex = rep(c(rep('men', 14), rep('women

Re: [R] graphs for pretest data

2008-08-23 Thread Michael Kubovy
Dear Juliet, Perhaps start here: require(lattice) mwpp <- data.frame(y = c(43,42,26,39,60,60,46,40,41,36,42,54, 58,43,46,56,81,56,70,70,44,52,81,59,69,68), sex = rep(c(rep('men', 14), rep('women', 12))), pp = c(rep(c('pre', 'post'), each = 7), rep(c('pre', 'post'), each =

[R] Forthcoming R Conferences

2008-08-23 Thread Friedrich . Leisch
Dear useRs and developeRs, I hope all attending useR! in Dortmund last week had as much a good time as I had and a safe trip home. This email is to announce our plans for forthcoming conferences. In 2009 there will be a useR! in Rennes, France (July 8-10), directly followed by a DSC in Copenhage

Re: [R] graphs for pretest data

2008-08-23 Thread John Kane
?plot ?lines Something like this perhaps plot( menpre, type="l", col="red") lines(menpost, col="blue") lines(womenpre,col="green" lines(womenpost, col= "orange") also have a look at ?par for various options --- On Sat, 8/23/08, Juliet Hannah <[EMAIL PROTECTED]> wrote: > From: Juliet Hannah

Re: [R] Survey Design / Rake questions

2008-08-23 Thread Thomas Lumley
On Fri, 22 Aug 2008, Farley, Robert wrote: I *think* I'm making progress, but I'm still failing at the same step. My rake call fails with: Error in postStratify.survey.design(design, strata[[i]], population.margins[[i]], : Stratifying variables don't match To my naïve eyes, it seems that m

Re: [R] lost in the SNOW at 4 AM; parallelization confusion...

2008-08-23 Thread Martin Morgan
Hi Eric -- Eric Rupley <[EMAIL PROTECTED]> writes: > Apologies at what must be a very basic question, but I have not found > any clear examples on how to design the following > > I would like to run iterative analysis over several processors. A toy > example of the analysis is attached; for

[R] graphs for pretest data

2008-08-23 Thread Juliet Hannah
Is there an easy way to make graphs for the following data. I have pretest and posttest scores for men and women. I would like to form a 'titlted segment' plot for the data. That is, make segments joining the scores, with different types of segments for men and women. Example data: menpre <- c(43

Re: [R] Sending "..." to a C external

2008-08-23 Thread Douglas Bates
On Fri, Aug 22, 2008 at 2:16 PM, John Tillinghast <[EMAIL PROTECTED]> wrote: > I'm trying to figure this out with "Writing R Extensions" but there's not a > lot of detail on this issue. > I want to write a (very simple really) C external that will be able to take > "..." as an argument. > (It's for

Re: [R] ggplot facet: change layout of panels

2008-08-23 Thread hadley wickham
Hi Tom, Not yet, but I'm working on it for the next version. Regards, Hadley On Sat, Aug 23, 2008 at 10:08 AM, Tom Boonen <[EMAIL PROTECTED]> wrote: > Hi, > > is there anyway to adjust how ggplot(facet=) displays the layout of > panels? I have a dataset with many 25 groups and gplot(y,x,facet=

[R] ggplot facet: change layout of panels

2008-08-23 Thread Tom Boonen
Hi, is there anyway to adjust how ggplot(facet=) displays the layout of panels? I have a dataset with many 25 groups and gplot(y,x,facet= .~group) displays all 25 y~x plots next to each other so overall the plot is too wide. if i do the same plot in lattice xyploy(y~x|group) the y~x plots are arra

[R] Error message in termplot

2008-08-23 Thread William Vincent
Hi I am trying to plot the following gam with termplot but keep getting the error message: Error in order(xx) : unimplemented type 'list' in 'orderVector1' Is there anyway I can rectify this to get my parametric coefficients plotted? Thanks Will Family: binomial Link fun

Re: [R] simple generation of artificial data with defined features

2008-08-23 Thread drflxms
Hello Mr. Greg Snow! Thank you very much for your prompt answer. > I don't think that the election data is the right data to demonstrate Kappa, > you need subjects that are classified by 2 or more different raters/methods. > The election data could be considered classifying the voters into whic

Re: [R] simple generation of artificial data with defined features

2008-08-23 Thread Christoph Meyer
Hi, to add voter.id and election.year to your data frame you could try: el.dt.exp$voter.id=seq(1:nrow(el.dt.exp)) el.dt.exp$election.year=2005 Cheers, Christoph Meyer *** Dr. Christoph Meyer Institute of Experimental Ecology Univers

Re: [R] Sending "..." to a C external

2008-08-23 Thread Barry Rowlingson
2008/8/22 Emmanuel Charpentier <[EMAIL PROTECTED]>: > Le vendredi 22 août 2008 à 15:16 -0400, John Tillinghast a écrit : >> I'm trying to figure this out with "Writing R Extensions" but there's not a >> lot of detail on this issue. >> I want to write a (very simple really) C external that will be a

Re: [R] simple generation of artificial data with defined features

2008-08-23 Thread drflxms
Dear Mr. Christos Hatzis, thank you so much for your answer which is in my eyes just brilliant! I followed it step by step (great and detailed explanation) and nearly everything is fine. - Except a problem in the very end, I haven't found a solution for until now. (Despite playing arround quite a

Re: [R] Using lme, how to specify: (1) repeated measures, and (2) Toeplitz covariance structure?

2008-08-23 Thread David Hajage
1) I think that the repeated measure is not "years", but, as you said, the "count of birds". If you are interested with the effect of the time variable (years), perhaps you need to introduce it as a fixed effect ? 2) See ?corARMA. 2008/8/22 mtb954 <[EMAIL PROTECTED]> > We are attempting to use n

Re: [R] Coordinate systems for geostatistics in R (imicola)

2008-08-23 Thread Patrick Giraudoux
If you use the spatial objects provided by the sp-package (http://cran.r-project.org/web/packages/sp/vignettes/sp.pdf) you transform your data to other projections using the spTransform package. Thus you will need the rgdal package in complement (it actually includes spTransform). This functi

[R] lost in the SNOW at 4 AM; parallelization confusion...

2008-08-23 Thread Eric Rupley
Apologies at what must be a very basic question, but I have not found any clear examples on how to design the following I would like to run iterative analysis over several processors. A toy example of the analysis is attached; for a resampling function run 1k times, with two differe

Re: [R] Interpreting Logistic Regression

2008-08-23 Thread Bernardo Rangel Tura
Em Qua, 2008-08-20 às 23:54 -0700, Madhavi Bhave escreveu: Hi Madhavi, > Hi ! > > This is Madhavi from Mumbai, India. Incidently this is my first post. You are wellcome! > > I am working on Credit Scoring Model and using R, I have run the logistic > regression. I have received following Out

Re: [R] Using interactive plots to get information about data points

2008-08-23 Thread Michael Bibo
jcarmichael gmail.com> writes: > > > I have been experimenting with interactive packages such iplots and playwith. > Consider the following sample dataset: > > A B C D > 1 5 5 9 > 3 2 8 4 > 1 7 3 0 > 7 2 2 6 > > Let's say I make a plot of variable A. I would like to be able t