This functions implements the update
method for bestfit models.
# S3 method for bestfit update(object, formula., ...)
object | a bestfit object. |
---|---|
formula. | a generic formula. |
... | further arguments to be added to the original call. |
a new bestfit object, update according to the arguments passed to update.bestfit
.
dados <- centro_2015@data#> Error in eval(expr, envir, enclos): trying to get slot "data" from an object (class "sf") that is not an S4 object#> Error in as.data.frame(data): object 'dados' not found#> Error in h(simpleError(msg, call)): error in evaluating the argument 'object' in selecting a method for function 'summary': object 'best_fit' not found#> Error in car::outlierTest(s$fit): object 's' not found#update best_fit in order to exclude the outlier found (AP_31) outliers <- match(names(out$p), rownames(centro_2015@data))#> Error in match(names(out$p), rownames(centro_2015@data)): object 'out' not found#> Error in h(simpleError(msg, call)): error in evaluating the argument 'object' in selecting a method for function 'update': object 'best_fit' not found