Last chance! 50% off unlimited learning
Sale ends in
Extract residuals from a bmstdr fitted object.
# S3 method for bmstdr
residuals(object, numbers = NULL, ...)
Returns a vector of residuals. If appropriate, it draws a time series plot of residuals. Otherwise, it draws a plot of residuals against observation numbers.
A bmstdr model fit object.
a list with two components: sn=number of spatial locations tn=number of time points. Residuals will be assumed to follow the arrangement of the data frame - sorted by space and then time within space.
Any other additional arguments.