This function enables to extract the prices of a "pred" object and to add a new column of the expected prices to the original dataframe.
## S3 method for class 'pred' summary(pred_object)
An objet of class "pred", which was a dataframe inputted in the predict_price function.
One has to be careful using this function as the model to obtain the predicted values has been built on the same dataset in which it forecasts the price. Overfitting is clearly present and may alter the predictions.
A dataframe with a new column of estimated prices.
1 2 3
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.