ghypernet (version 1.0.0)

residuals.nrm: Method to compute residuals of nrm models

Description

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

Run this code
# 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