Re: [R] Error message in vars package

2013-03-14 Thread Peter Ehlers
On 2013-03-14 11:10, Jose Iparraguirre wrote: Hi I'm getting an error message with the roots() function in the vars package. Even the example in the help file comes up with an error: data(Canada) var.2c <- VAR(Canada, p = 2, type = "const") roots(var.2c) Error in UseMethod("roots") : no ap

[R] Error message in vars package

2013-03-14 Thread Jose Iparraguirre
Hi I'm getting an error message with the roots() function in the vars package. Even the example in the help file comes up with an error: > data(Canada) > var.2c <- VAR(Canada, p = 2, type = "const") > roots(var.2c) Error in UseMethod("roots") : no applicable method for 'roots' applied to an ob