Description Usage Arguments Details Value Author(s) See Also Examples
Generic fundtion that extracts model residuals from a 'mobility.model' object.
1  | 
object | 
 a   | 
type | 
 the type of residuals to be returned. Available residual types include:   | 
... | 
 further arguments passed to or from other methods  | 
Residual types are calculated as:
y_i - μ_i
(y_i - μ_i)/√{μ_i}
sign(y_i - μ_i) * √(2(log(y_i/μ_i) - (y_i - μ_i)))
Where, y_i is the observed data and μ_i is the value predicted by the model using the mean of parameter posterior distributions
a matrix containing model residuals
John Giles
Other model: 
check(),
compare(),
fit_jags(),
fit_prob_travel(),
mobility(),
predict(),
summary()
1 2 3  | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.