Re: [R] Automatically extract info from Granger causality output

2011-04-15 Thread Pfaff, Bernhard Dr.
used. Now to your questions: > > 1) What happens if you provide colnames for your objects? > > 2) What happens if you omit the $ after count? > > > > Best, > > Bernhard > > > > ps: the function seems to have been ported from the package > 'vars'

Re: [R] Automatically extract info from Granger causality output

2011-04-15 Thread ivan
nts of class htest. > >> -Ursprüngliche Nachricht- >> Von: r-help-boun...@r-project.org >> [mailto:r-help-boun...@r-project.org] Im Auftrag von ivan >> Gesendet: Donnerstag, 14. April 2011 19:37 >> An: r-help@r-project.org >> Betreff: [R] Automatically extract info

Re: [R] Automatically extract info from Granger causality output

2011-04-15 Thread Pfaff, Bernhard Dr.
[mailto:r-help-boun...@r-project.org] Im Auftrag von ivan > Gesendet: Donnerstag, 14. April 2011 19:37 > An: r-help@r-project.org > Betreff: [R] Automatically extract info from Granger causality output > > Dear Community, > > this is my first programming in R and I am stuck with

[R] Automatically extract info from Granger causality output

2011-04-14 Thread ivan
Dear Community, this is my first programming in R and I am stuck with a problem. I have the following code which automatically calculates Granger causalities from a variable, say e.g. "bs" as below, to all other variables in the data frame: log.returns<-as.data.frame( lapply(daten, function(x) di