residuals.nrm: Method to compute residuals of nrm models

Description Usage Arguments Value Examples

View source: R/residuals.nrm.R

Description

Method to compute residuals of nrm models

Usage

1
2
## S3 method for class 'nrm'
residuals(object, adj, RMSLE = FALSE, null = FALSE, ...)

Arguments

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.

Value

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

Examples

1
2
3
data('highschool.predictors')
highschool.m <- nrm(w=highschool.predictors[1], adj=contacts.adj, directed=FALSE, selfloops=FALSE)
residuals(highschool.m, contacts.adj)

ghypernet documentation built on Oct. 15, 2021, 5:14 p.m.