Anwesha Chakrabarti wrote:
>
>> fitsur<-systemfit("SUR",list(demand=eqDemand, supply=eqSupply))
> and got the following error messege
>
> Error in systemfit("SUR", list(demand = eqDemand, supply = eqSupply)) :
> argument 'formula' must be an object of class 'formula' or a list of
> objects
> of class 'formula'
>
> Can anyone tell me how to overcome this problem?
>
Read the manual for systemfit.
You have supplied the arguments in the wrong order.
The formula is the first argument and the method is the second.
Berend
--
View this message in context:
http://www.nabble.com/R-formula-tp25021359p25022361.html
Sent from the R help mailing list archive at Nabble.com.
______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.