search for: runmodel

Displaying 1 result from an estimated 1 matches for "runmodel".

Did you mean: runmode
2013 Jan 24
1
how should I make the optional arguments in r?
...rossprice<-getelasticity(mydata,mydatao,"nest")$cross_p is same with crossprice<-getelasticity(mydata,mydatao)$cross_p I don't know why???? In ""getelasticity_overPB.r": I have the function: getelasticity=function(mydata,mydatao,method=NULL){ ..... source("runmodel.r") rr<-getrange(dataw,mydatao,method=NULL) #I have tested that rr<-getrange(dataw,mydatao) is different with rr<-getrange(dataw,mydatao,"nest"): which is what I want. rr } how should I make it work??? Thanks for your help. Kind regards, Tammy [...