[R] Help Needed!!

2007-07-10 Thread deepa gupta
Hi, Can anyone help me with repeated meausres MANOVA in R ? For repeated measures ANOVA I used function aov. Is there something like this exists for MANOVA? Thanks, Deepa - [[alternative HTML version deleted]]

Re: [R] Help Needed!!

2007-07-10 Thread Henrique Dallazuanna
See ?summary.manova -- Henrique Dallazuanna Curitiba-Paraná-Brasil 25° 25' 40 S 49° 16' 22 O On 10/07/07, deepa gupta [EMAIL PROTECTED] wrote: Hi, Can anyone help me with repeated meausres MANOVA in R ? For repeated measures ANOVA I used function aov. Is there something like this exists

[R] help needed on data management

2006-11-02 Thread Alfred Xuan
Hi, I am quite new in R, but want to try the following data aggregation in R. The data has three columns, and the fourth is what i am trying to get. I created this in SAS, and would like to learn to do it in R. Here is some snapshot of the dataset. I have a list of different users, and on

Re: [R] help needed on data management

2006-11-02 Thread Gabor Grothendieck
First create your running sum function and then tapply it to the groups: runsum - function(x, k = 3) diff(c(rep(0, k), cumsum(x)), k) DF$back - unlist(tapply(DF$plays, DF$Userid, runsum)) Note that there is a survey of running sum/mean/etc. here:

[R] Help needed

2006-10-24 Thread cherub
I tried to use paneliperf in package SensoMinR, I imported my data Choco , my data looked like exactly same with data sensochoc in this package. the only difference is the value. I tried to run the code, res-paneliperf(choco, formul = ~Product+Panelist+Session+

[R] Help needed understanding eval,quote,expression

2006-06-29 Thread toby_marks
I am trying to build up a quoted or character expression representing a component in a list in order to reference it indirectly. For instance, I have a list that has data I want to pull, and another list that has character vectors and/or lists of characters containing the names of the

Re: [R] Help needed understanding eval,quote,expression

2006-06-29 Thread Prof Brian Ripley
You are missing eval(parse(text=)). E.g. x - list(y=list(y1=hello,y2=world),z=list(z1=foo,z2=bar)) (what do you mean by the $ at the start of these lines?) eval(parse(text=x$y$y1)) [1] hello However, bear in mind fortune(parse) If the answer is parse() you should usually rethink the

Re: [R] Help needed understanding eval,quote,expression

2006-06-29 Thread Joerg van den Hoff
Prof Brian Ripley wrote: You are missing eval(parse(text=)). E.g. x - list(y=list(y1=hello,y2=world),z=list(z1=foo,z2=bar)) (what do you mean by the $ at the start of these lines?) eval(parse(text=x$y$y1)) [1] hello However, bear in mind fortune(parse) If the answer is parse() you

Re: [R] Help needed understanding eval,quote,expression

2006-06-29 Thread Prof Brian Ripley
On Thu, 29 Jun 2006, Joerg van den Hoff wrote: Prof Brian Ripley wrote: You are missing eval(parse(text=)). E.g. x - list(y=list(y1=hello,y2=world),z=list(z1=foo,z2=bar)) (what do you mean by the $ at the start of these lines?) eval(parse(text=x$y$y1)) [1] hello However, bear in mind

Re: [R] Help needed understanding eval,quote,expression

2006-06-29 Thread toby_marks
the first post, the $ at the beginning of the line was the prompt. apologies for the confusion. cheers. Prof Brian Ripley [EMAIL PROTECTED] 06/29/2006 04:06 AM To Joerg van den Hoff [EMAIL PROTECTED] cc [EMAIL PROTECTED], r-help@stat.math.ethz.ch Subject Re: [R] Help needed

[R] Help needed using lattice for area plots lpolygon, xyplot.

2006-06-07 Thread toby_marks
I am trying to learn how to use the graphics from the lattice package ( and am very new to R). I am trying to replicate the example plot referenced below, by using the lattice xyplot lpolygon to create panels. I get what appears to be the correct shape of the filled region, but cannot get

Re: [R] Help needed

2006-04-26 Thread Petr Pikal
, Anamika Chaudhuri wrote: Date sent: Tue, 25 Apr 2006 18:16:42 -0700 (PDT) From: Anamika Chaudhuri [EMAIL PROTECTED] To: Richard M. Heiberger [EMAIL PROTECTED], r-help@stat.math.ethz.ch Subject:Re: [R] Help needed As my earlier email

Re: [R] Help needed

2006-04-25 Thread Anamika Chaudhuri
Hi, Thanks but I had already fixed that part. My problem is I am not getting a value for the maxcls or mincls: here is the code: dset1-cbind(AGE,BMI,DEATH) BMIGRP-cut(BMI,breaks=c(14,20,25,57),right=TRUE) AGEGRP-floor(AGE/10)-2 dset-cbind(AGEGRP,BMIGRP,DEATH)

Re: [R] Help needed

2006-04-25 Thread Richard M. Heiberger
x - rnorm(100) xx - cut(x,3) levels(xx) [1] (-2.37,-0.716] (-0.716,0.933] (0.933,2.58] as.numeric(xx) __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide!

Re: [R] Help needed

2006-04-25 Thread Anamika Chaudhuri
As my earlier email said I am not getting the maxcls. I do get numbers coded as 1,2,3 for BMIGRP(when I print BMIGRP) but not getting the max of (1,2,3) which should be 3, I guess. Thanks for your help Anamika Anamika Chaudhuri [EMAIL PROTECTED] wrote: dset1-cbind(AGE,BMI,DEATH)

[R] Help needed

2006-04-24 Thread Anamika Chaudhuri
Hi, I am trying to change a SAS macro to R. here is my code. I get an error at the last line. attach(fram) dset1-cbind(AGE,BMI,DEATH) BMIGRP-cut(BMI,breaks=3,right=TRUE) AGEGRP-floor(AGE/10)-2 dset-cbind(AGEGRP,BMIGRP,DEATH) maxage-max(dset[,1]) minage-min(dset[,1])

Re: [R] Help needed

2006-04-24 Thread Richard M. Heiberger
The lines #maxcls-dset[,2] #mincls-dset[,2] which you have shown commented out select a full column. You probably want the min and max of that column. With your definitions, mincls:maxlcs has the same type of behavior as (1:3):(1:3) __

Re: [R] Help needed with ks.test

2005-10-20 Thread Vito Ricci
Ciao Emanuele, you could give a look to this contribute on fitting distributions with R, maybe it could be helpful to you: http://cran.r-project.org/doc/contrib/Ricci-distributions-it.pdf Regards, Vito Emanuele Mazzola wrote Hello to everybody, I'd like to submit a problem I'm dealing

[R] Help needed with ks.test

2005-10-19 Thread Emanuele Mazzola
Hello to everybody, I'd like to submit a problem I'm dealing with, and I can't get an answer to by myself. I have to test if my data come from a specific probability distribution, of which I know the analytic form both of the p.d.f. and the c.d.f. Namely, it is the hypoexponential distribution,

Re: [R] Help needed - Use of RSrvr in macro mode

2005-05-26 Thread Uwe Ligges
This is a VERY special question. Please redirect your question to the appropriate mailing list. See http://mailman.csd.univie.ac.at/mailman/listinfo/rcom-l for more information. Uwe Ligges Constant Depièreux wrote: Dear All, I am experiencing a problem for which I need some help. I have

[R] Help needed with lattice graph!

2005-04-22 Thread Sander Oom
Dear R users, If I manage to sort out this graph, it is certainly a candidate for the new R graph gallery (http://addictedtor.free.fr/graphiques/displayGallery.php)! I created the following lattice graph: library(lattice) tmp - expand.grid(geology = c(Sand,Clay,Silt,Rock), species =

Re: [R] Help needed with lattice graph!

2005-04-22 Thread Romain Francois
Well done ! The result of your work has been uploaded to the gallery (graph 48). Romain Le 22.04.2005 22:39, Paul Murrell a écrit : Hi Deepayan Sarkar wrote: On Friday 22 April 2005 03:29, Sander Oom wrote: Dear R users, If I manage to sort out this graph, it is certainly a candidate for the new R

Re: [R] Help needed with lattice graph!

2005-04-22 Thread Deepayan Sarkar
On Friday 22 April 2005 03:29, Sander Oom wrote: Dear R users, If I manage to sort out this graph, it is certainly a candidate for the new R graph gallery (http://addictedtor.free.fr/graphiques/displayGallery.php)! I created the following lattice graph: library(lattice) tmp -

Re: [R] Help needed with lattice graph!

2005-04-22 Thread Paul Murrell
Hi Deepayan Sarkar wrote: On Friday 22 April 2005 03:29, Sander Oom wrote: Dear R users, If I manage to sort out this graph, it is certainly a candidate for the new R graph gallery (http://addictedtor.free.fr/graphiques/displayGallery.php)! I created the following lattice graph: library(lattice)

[R] Help Needed on plot Function

2004-01-14 Thread Yao, Minghua
Dear all, I want the title of the plot to print some parameters that change. Also, I want some spots on the plot to be labeled. Is that possible? Thanks in advance for your help. Minghua __ [EMAIL PROTECTED] mailing list

RE: [R] Help Needed on plot Function

2004-01-14 Thread Andy Bunn
Look at ?substitute, ?expression, and ?paste. The archives are dense with worked examples. Here's one example of a parameter in the title: param - pi plot(1:100, log(1:100)) title(substitute(hat(theta) == param, list(param=param))) A search of the archives for label points plot turns up 100s of

Re: [R] Help needed: plotting with no device

2003-09-30 Thread Ross Boylan
On Mon, 2003-09-29 at 14:25, Luke Tierney wrote: Look at ?Signal and see if that would help. You may need to rename the appropriate .RData beforehand to be safer. luke For those who follow, note it's actually ?Signals you want. It talks about USR1 and USR2 (as did some other people in this

[R] Help needed: plotting with no device

2003-09-29 Thread Ross Boylan
I have a hung session I would very much like to recover, since it has some simulation results I haven't saved (that took about 12 hours to create). Yes, I know, I should have saved while I had the chance. I tried to do a hist() in an environment without a plotting device. My R session now seems

Re: [R] Help needed: plotting with no device

2003-09-29 Thread Ben Bolker
Can you use save.image() to rescue your results? I would try save.image(file=salvage.RData) and see if the file appears. Otherwise I would say you're probably out of luck. On Mon, 29 Sep 2003, Ross Boylan wrote: I have a hung session I would very much like to recover, since it has

Re: [R] Help needed: plotting with no device

2003-09-29 Thread Ross Boylan
On Mon, Sep 29, 2003 at 05:09:49PM -0400, Ben Bolker wrote: Can you use save.image() to rescue your results? I would try save.image(file=salvage.RData) and see if the file appears. Otherwise I would say you're probably out of luck. The problem is I can't get back to the command

Re: [R] Help needed: plotting with no device

2003-09-29 Thread Luke Tierney
Look at ?Signal and see if that would help. You may need to rename the appropriate .RData beforehand to be safer. luke On Mon, 29 Sep 2003, Ross Boylan wrote: On Mon, Sep 29, 2003 at 05:09:49PM -0400, Ben Bolker wrote: Can you use save.image() to rescue your results? I would try

Re: [R] Help needed: plotting with no device

2003-09-29 Thread Jason Turner
Ross Boylan wrote: On Mon, Sep 29, 2003 at 05:09:49PM -0400, Ben Bolker wrote: Can you use save.image() to rescue your results? I would try save.image(file=salvage.RData) and see if the file appears. Otherwise I would say you're probably out of luck. The problem is I can't get back to the

Re: [R] Help needed: plotting with no device

2003-09-29 Thread Thomas Lumley
On Mon, 29 Sep 2003, Ross Boylan wrote: I have a hung session I would very much like to recover, since it has some simulation results I haven't saved (that took about 12 hours to create). Yes, I know, I should have saved while I had the chance. I tried to do a hist() in an environment