Description Usage Arguments Details Value Author(s) Examples
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.
1 2 | ## S3 method for class 'pred'
summary(pred_object)
|
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.
Germano David
Lomazzi Vincent
Bron Luca
Raisin Edgar
Grandadam Patrik
1 2 3 | cities <- get_immodata(c("bussigny", "nyon"))
predictions <- predict_price(cities)
summary(predictions)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.