thanks once again.
Mintewab
Från: Sarah Goslee [sarah.gos...@gmail.com]
Skickat: den 12 december 2011 17:36
Till: Mintewab Bezabih
Kopia: r-help@r-project.org
Ämne: Re: [R] shorter way of coding
That's not a reproducible example. Paul suggested a list
)
vis.gam(b)
fitted(b)
Many thanks once again.
Mintewab
Från: Sarah Goslee [sarah.gos...@gmail.com]
Skickat: den 12 december 2011 17:36
Till: Mintewab Bezabih
Kopia: r-help@r-project.org
Ämne: Re: [R] shorter way of coding
That's not a reproducible
Thanks so much Sarah. Everything worked now!
Mintewab
Från: Sarah Goslee [sarah.gos...@gmail.com]
Skickat: den 13 december 2011 17:36
Till: Mintewab Bezabih
Kopia: r-help@r-project.org
Ämne: Re: [R] shorter way of coding
In exactly the same way:
y.gam
Dear R users,
I am using the code below to generate a fitted value of b. I have about 300
different values for for y (y1, y2, ...y300) which means I will have to write
the code below 300 times to generate the 300 different fitted values for y. Is
there a short way of doing that ?
Many thanks
This isn't a reproducible example, so I can't provide code,
but I would put all the y variables in a list and use lapply().
Sarah
On Mon, Dec 12, 2011 at 8:16 AM, Mintewab Bezabih
mintewab.beza...@economics.gu.se wrote:
Dear R users,
I am using the code below to generate a fitted value of b.
On 12/12/2011 01:16 PM, Mintewab Bezabih wrote:
Dear R users,
I am using the code below to generate a fitted value of b. I have about 300
different values for for y (y1, y2, ...y300) which means I will have to write
the code below 300 times to generate the 300 different fitted values for
Hi
Dear R users,
I am using the code below to generate a fitted value of b. I have about
300 different values for for y (y1, y2, ...y300) which means I will have
to write the code below 300 times to generate the 300 different fitted
values for y. Is there a short way of doing that ?
Hiemstra [paul.hiems...@knmi.nl]
Skickat: den 12 december 2011 14:42
Till: Mintewab Bezabih
Kopia: r-help@r-project.org
Ämne: Re: [R] shorter way of coding
On 12/12/2011 01:16 PM, Mintewab Bezabih wrote:
Dear R users,
I am using the code below to generate a fitted value of b. I have about 300
: Re: [R] shorter way of coding
On 12/12/2011 01:16 PM, Mintewab Bezabih wrote:
Dear R users,
I am using the code below to generate a fitted value of b. I have about 300
different values for for y (y1, y2, ...y300) which means I will have to
write the code below 300 times to generate the 300
Hiemstra [paul.hiems...@knmi.nl]
Skickat: den 12 december 2011 14:42
Till: Mintewab Bezabih
Kopia: r-help@r-project.org
Ämne: Re: [R] shorter way of coding
On 12/12/2011 01:16 PM, Mintewab Bezabih wrote:
Dear R users,
I am using the code below to generate a fitted value of b. I have about 300
10 matches
Mail list logo