GOFaplsm: Assess the fit of the APLSM

Description Usage Arguments Value Examples

View source: R/Gofaplsm.R

Description

assess the fit of the model using ROC curves and auc values

Usage

1
GOFaplsm(model, type, Y.i, Y.ia)

Arguments

model

object of class the APLSM

type

character indicating the types of model. It could be "DD", distance by distance model, "DV", distance by vector model, "VV", vector by vector model

Y.i

N by N matrix containing the binary social network

Y.ia

N by M matrix containing the binary multivariate attributes

Value

list containing:

Examples

1
2
3
attach(french)
b=aplsm(Niter=3,Y.i, Y.ia,D=2, type="DD")
GOFaplsm(b, "DD",Y.i, Y.ia)

selenashuowang/jlsm documentation built on Feb. 20, 2021, 6:39 a.m.