_
From: "Lekgatlhamang, lexi Setlhare"
To: arun
Cc: R help
Sent: Monday, July 2, 2012 11:43 AM
Subject: Re: [R] Adjusting length of series
Thanks very much A.K. I have to admit that my problem was not clearly stated,
with the structure of my data provided. Now all is well.
Thanks very much A.K. I have to admit that my problem was not clearly stated,
with the structure of my data provided. Now all is well.
Â
Cheers
Lexi
Cc: R help
Sent: Monday, July 2, 2012 4:40 PM
Subject: Re: [R] Adjusting length of series
Hello,
The
Noted David, and thanks very much.
Â
Lexi
From: David Winsemius
Sent: Monday, July 2, 2012 4:26 PM
Subject: Re: [R] Adjusting length of series
On Jul 2, 2012, at 5:13 AM, Lekgatlhamang, lexi Setlhare wrote:
> Hi David and AK,
> I have been try
2.046024e-
#Same result
Not sure what you meant by ("This is good, but couldn't I code the process for
my 15 variable model?")
A.K.
____________
From: "Lekgatlhamang, lexi Setlhare"
To: arun
Cc: R help
Sent: Monday, July 2, 2012 5:13 AM
Subject:
On Jul 2, 2012, at 5:13 AM, Lekgatlhamang, lexi Setlhare wrote:
Hi David and AK,
I have been trying to implement your suggestions since yesterday,
but I encountered some challenges.
As for David's suggestions, I could only implement it after some
modifications. Using an abridged version o
Hi David and AK,
I have been trying to implement your suggestions since yesterday, but I
encountered some challenges.
Â
As for David's suggestions, I could only implement it after some
modifications. Using an abridged version of my data, I dpud my dataset and
then show my steps below.
Â
> dp
Thanks a lot David and A.K. for the detailed and helpful suggestions.
Lexi
Cc: R help
Sent: Sunday, July 1, 2012 3:39 AM
Subject: Re: [R] Adjusting length of series
Hello,
Try this:
Dcr<-lapply(1:5,function(x) rnorm(10,15))
names(Dcr)<- c(
Hello,
Try this:
Dcr<-lapply(1:5,function(x) rnorm(10,15))
names(Dcr)<- c("Dcre1","Dcre2","Dcre3","Dcre4","Dcre5")
#Works
regCred<-lm(Dcr[[1]]~Dcr[[2]]+Dcr[[3]])
summary(regCred)
#Works
regCred2<-lm(Dcre1~Dcre2+Dcre3,data=Dcr)
summary(regCred)
# Do not work
regCred3<-lm(Dcr[[1]][1:5]~Dcr[[4]]
On Jun 30, 2012, at 8:47 PM, David Winsemius wrote:
On Jun 30, 2012, at 6:04 PM, Lekgatlhamang, lexi Setlhare wrote:
Hi
I have a follow up question, relating to subsetting to list items.
After using the list and min(sapply()) method to adjust the length
of the variables, I specify a dyna
On Jun 30, 2012, at 6:04 PM, Lekgatlhamang, lexi Setlhare wrote:
Hi
I have a follow up question, relating to subsetting to list items.
After using the list and min(sapply()) method to adjust the length
of the variables, I specify a dynamic regression equation using the
variables in the li
amang, lexi Setlhare"
To: Petr PIKAL
Cc: R-Help
Sent: Friday, June 29, 2012 1:24 AM
Subject: Re: [R] Adjusting length of series
Thanks a lot Peter. It is a learning process for me.
From: Petr PIKAL
Cc: R-Help
Sent: Thursday, June 28, 2012 6:20 PM
Subject
Thanks a lot Peter. It is a learning process for me.
From: Petr PIKAL
Cc: R-Help
Sent: Thursday, June 28, 2012 6:20 PM
Subject: Re: [R] Adjusting length of series
Hi
I use R for quite a long time and as I remember I did not use such assign
paste i
Hi
I use R for quite a long time and as I remember I did not use such assign
paste i loop yet. Insted of such construct with polluting environment with
plenty of objects named something(i)somethingelse it is always advisable
to use lists.
When you want to shorten variables to some common lengt
13 matches
Mail list logo