# residuals.nrm

From ghypernet v1.0.0
by Giona Casiraghi

##### Method to compute residuals of nrm models

Method to compute residuals of nrm models

##### Usage

```
# S3 method for nrm
residuals(object, adj, RMSLE = FALSE, null = FALSE, ...)
```

##### Arguments

- object
nrm object

- adj
odjacency 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.

##### Value

numeric vector, residuals of nrm model fit against the original data

##### Examples

```
# NOT RUN {
data('highschool.predictors')
highschool.m <- nrm(w=highschool.predictors[1], adj=contacts.adj, directed=FALSE, selfloops=FALSE)
residuals(highschool.m, contacts.adj)
# }
```

*Documentation reproduced from package ghypernet, version 1.0.0, License: AGPL-3*

### Community examples

Looks like there are no examples yet.