Method to compute residuals of nrm models
# S3 method for nrm residuals(object, adj, RMSLE = FALSE, null = FALSE, ...)
nrm object
odjacency against which to compute residuals
logical, return log residuals? default FALSE
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
# NOT RUN { data('highschool.predictors') highschool.m <- nrm(w=highschool.predictors[1], adj=contacts.adj, directed=FALSE, selfloops=FALSE) residuals(highschool.m, contacts.adj) # }
Run the code above in your browser using DataLab