Re: [R] Gradient color to a line graph

2017-02-05 Thread Riyas MJ
Thank you so much. Both worked well. Thanks On Sun, Feb 5, 2017 at 2:27 AM, Jeff Newmiller wrote: > You haven't indicated what information you want to convey with this > gradient. > > You also are using arrays where you should be using vectors, usually > stored in a data frame. > > Here is one w

Re: [R] Marg.fct function

2017-02-05 Thread Jeff Newmiller
It is not part of "R". You can dig through all of the packages that the author mentions, or send an email to the author. -- Sent from my phone. Please excuse my brevity. On February 5, 2017 11:44:40 AM PST, James Henson wrote: >Greetings R Community, > >An attempt to reproduce the results fro

Re: [R] Marg.fct function

2017-02-05 Thread peter dalgaard
> On 05 Feb 2017, at 20:44 , James Henson wrote: > > Greetings R Community, > > An attempt to reproduce the results from code in the source below > fails. R cannot find the function ‘Marg.fct’. An Internet search for > the ‘Marg.fct’ function was not fruitful. I appreciate your help. > Best r

[R] Marg.fct function

2017-02-05 Thread James Henson
Greetings R Community, An attempt to reproduce the results from code in the source below fails. R cannot find the function ‘Marg.fct’. An Internet search for the ‘Marg.fct’ function was not fruitful. I appreciate your help. Best regards, James F. Henson. R (and S-PLUS) Manual to Accompany Agres

Re: [R] mean of a column in a list of data frames

2017-02-05 Thread Rui Barradas
Hello, Try instead the following. aList<- numeric(3) for(i in 1:3){ aList[i] <- mean(ownersList[[i]]$grossIncome) } aList Hope this helps, Rui Barradas Em 05-02-2017 12:01, Brandon Payne escreveu: I have a list of data frames, ownersList <- list(exp2004owners,exp2005owners,

Re: [R] mean of a column in a list of data frames

2017-02-05 Thread Duncan Murdoch
On 05/02/2017 7:01 AM, Brandon Payne wrote: I have a list of data frames, ownersList <- list(exp2004owners,exp2005owners, exp2006owners,exp2007owners, exp2008owners,exp2009owners, exp2010owners,exp2011owners, exp2012

[R] mean of a column in a list of data frames

2017-02-05 Thread Brandon Payne
I have a list of data frames, ownersList <- list(exp2004owners,exp2005owners, exp2006owners,exp2007owners, exp2008owners,exp2009owners, exp2010owners,exp2011owners, exp2012owners,exp2013owners, exp20