php-r icon indicating copy to clipboard operation
php-r copied to clipboard

Issue with logistic regression expression (tilde issue ?)

Open mikaelc opened this issue 7 years ago • 1 comments

Hi,

Thanks for your beautiful library ! I have an issue with this specific command :

reg<-glm(col0~.,data=a,family=binomial(logit))

Every other command works well but as soon as I add this one, I get an error "The last command in the R input is not complete"

Maybe it comes from the ~ character ? I tried to addslashe it or escape it \ but without success

Would you have an idea ?

Thanks a lot ! Mikaël

mikaelc avatar Mar 18 '18 09:03 mikaelc

Hi Mikaël, thanks for reporting this issue.

Unfortunately, I won't be able to find time on looking into the problem. However, if you find the cause and submit a PR, I'll be happy to accept it.

kachkaev avatar Mar 18 '18 10:03 kachkaev