basic : displays prediction result on shiny

,

Hello,

I do prediction in R that is displayed on shiny and if the calculation works, it displays the predition not like for example: "526" but in a raw manner :"
" .pred
1 526
"
or with another ols model like this:
[1] 526"

The function i used is based on ols prediction and is called on shiny with:
renderPrint({ (data.frame( (predict(ols_model, new_data = newdata(), interval = "confidence", level = 0.95)) )) })

Please, what should i do?
Thank you

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.