0

I would like to name a column when I have already created a forecast, how do I do this?

  previsao_tissue_historico <- stats::predict(modelo_tissue)
  • 2
    It's easier to help you if you include a simple [reproducible example](https://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example) with sample input and desired output that can be used to test and verify possible solutions. – MrFlick Feb 26 '21 at 19:24
  • Do you mean you want to add a column to the data frame you used in the model? If the data frame is `mydata`, then `mydata$previsao_tissue_historico <- stats::predict(modelo_tissue)`. – dcarlson Feb 27 '21 at 16:55

0 Answers0