radiant-rstats / radiant

Business analytics using R and Shiny. The radiant app combines the menus from radiant.data, radiant.design, radiant.basics, radiant.model, and radiant.multivariate.
https://radiant-rstats.github.io/docs/
Other
459 stars 136 forks source link

My Radiant does not recognise figures <0 #187

Closed RC3656 closed 2 years ago

RC3656 commented 2 years ago

Hello. Trying to going on with the tutorial of this extraordinary package, I found a trouble and I was not able to solve it. I re-started by new installations of R, RStudios & Radiant on my Mac and the result is the same. I load the input in the tutorial (\solutions\video2.state.rda) but the behaviour is the same.

I tried with a fresh installation of R / RStudio /Radiant in a Windows computer, load the file in the example but I have no way to include a payoff < 0. In the model in the Screen shot attached can be seen that, no matter that the definition is "payoff: -1000000", always the calculation assumes that the the 0.4 n ode "fracaso" hay payoff for +1000000.

Is there a way to specify negative numbers? I would appreciate your comments and suggestions Thanks agains Regards RC Orellana

Captura de Pantalla 2022-08-24 a las 17 20 19
vnijs commented 2 years ago

You found a bug @RC3656. Thanks for reporting. An update is on its way to CRAN but you can get the updated version by running the command below.

remotes::install_github("radiant-rstats/radiant.model", upgrade="never")