View source: R/residuals.nrm.R
residuals.nrm | R Documentation |
Method to compute residuals of nrm models
## S3 method for class 'nrm'
residuals(object, adj, RMSLE = FALSE, null = FALSE, ...)
object |
nrm object |
adj |
adjacency against which to compute residuals |
RMSLE |
logical, return log residuals? default FALSE |
null |
logical. use null model? |
... |
additional parameters to be passed to and from internal functions. |
numeric vector, residuals of nrm model fit against the original data
data('highschool.predictors')
highschool.m <- nrm(w=highschool.predictors[1], adj=contacts.adj, directed=FALSE, selfloops=FALSE)
residuals(highschool.m, contacts.adj)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.