Stata gives type mismatch error on if inlist(strvar, "abc" , "abc xyz") like condition in package - ssc install htopen - Especially on if string variable contain space between words.
sysuse auto, clear
htopen using abc.html, replace
htlist make price mpg if inlist(make,"Subaru","Toyota Corolla") , align(center) varname
htclose
. sysuse auto, clear
(1978 Automobile Data)
.
. htopen using abc.html, replace
. htlist make price mpg if inlist(make,"Subaru","Toyota Corolla") , align(center) varname
type mismatch
r(109);
Please suggest in this regard.
Rasool Bux
0 Response to type mismatch error in htlist command of htopen package.
Post a Comment